mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2025-12-06 06:15:41 +00:00
improvements
This commit is contained in:
@@ -12,7 +12,7 @@ import org.w3c.dom.HTMLDivElement
|
||||
@Composable
|
||||
fun Alert(
|
||||
attrs: Attrs<HTMLDivElement> = Attrs.empty(),
|
||||
animation: UIKitAnimation? = UIKitAnimation.Fade,
|
||||
animation: Boolean = true,
|
||||
duration: Milliseconds? = null,
|
||||
selClose: String? = null,
|
||||
content: ContentBuilder<HTMLDivElement>
|
||||
@@ -22,7 +22,7 @@ fun Alert(
|
||||
include(UIKitAlert)
|
||||
|
||||
buildAndAddAttribute("uk-alert") {
|
||||
"animation" to animation ?.classes ?.firstOrNull()
|
||||
"animation" to animation
|
||||
"duration" to duration
|
||||
"sel-close" to selClose
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user