mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2026-10-25 21:37:10 +00:00
add afterHeaderBuilder and beforeFooterBuilder in Dialog
This commit is contained in:
1 parent
d4d0adf020
commit
366971bcf5
2 files changed
+5
No files matched your search
@@ -31,6 +31,8 @@ fun Dialog(
|
||||
dialogAttrsBuilder: AttrBuilderContext<HTMLDivElement>? = null,
|
||||
headerAttrsBuilder: AttrBuilderContext<HTMLDivElement>? = null,
|
||||
headerBuilder: ContentBuilder<HTMLDivElement>? = null,
|
||||
afterHeaderBuilder: ContentBuilder<HTMLDivElement>? = null,
|
||||
beforeFooterBuilder: ContentBuilder<HTMLDivElement>? = null,
|
||||
footerAttrsBuilder: AttrBuilderContext<HTMLDivElement>? = null,
|
||||
footerBuilder: ContentBuilder<HTMLDivElement>? = null,
|
||||
bodyAttrsBuilder: AttrBuilderContext<HTMLDivElement>? = null,
|
||||
@@ -62,6 +64,7 @@ fun Dialog(
|
||||
it()
|
||||
}
|
||||
}
|
||||
afterHeaderBuilder ?.let { it() }
|
||||
Div(
|
||||
{
|
||||
include(UIKitModal.Body)
|
||||
@@ -70,6 +73,7 @@ fun Dialog(
|
||||
) {
|
||||
bodyBuilder()
|
||||
}
|
||||
beforeFooterBuilder ?.let { it() }
|
||||
footerBuilder ?.let {
|
||||
Div(
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user