From b177760c737730532ac7072331ac2e75c1c426b6 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 30 Mar 2022 21:08:29 +0600 Subject: [PATCH] add UIKDropdown#Mode for none and hover and click --- src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitDropdown.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitDropdown.kt b/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitDropdown.kt index b1374b0..b1f4f1b 100644 --- a/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitDropdown.kt +++ b/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitDropdown.kt @@ -50,6 +50,9 @@ sealed class UIKitDropdown(classname: String) : UIKitModifier { object Click : Mode("click") object Hover : Mode("hover") + object None : Mode("") + object HoverAndClick : Mode("$Hover, $Click") + } sealed class Flip(name: String) : AttributeValue(name) {