add Toggle builder

This commit is contained in:
InsanusMokrassar committed 2022-05-29 09:43:23 +06:00
1 parent 38819eba21
commit 767f5291a8
3 files changed
+29 -1

No files matched your search

@@ -38,7 +38,7 @@ sealed class UIKitToggle(
class Custom internal constructor(otherAttrs: Map<String, String>) : UIKitToggle(otherAttrs = otherAttrs)
companion object {
companion object : UIKitToggle(otherAttrs = mapOf("uk-toggle" to "")) {
operator fun invoke(
target: String? = null,
mode: Mode? = null,