add DropAre, UIKitPlaceholder and UIKitForm#Custom now have nullable target

This commit is contained in:
2022-03-02 16:52:58 +06:00
parent a596516c79
commit 556ab4e090
4 changed files with 34 additions and 1 deletions

View File

@@ -47,7 +47,7 @@ sealed class UIKitForm(
object Icon : UIKitForm("uk-form-icon")
class Custom(
target: String = "true"
target: String? = null
) : UIKitForm(
otherAttrs = mapOf(
buildAttribute("uk-form-custom") {

View File

@@ -0,0 +1,5 @@
package dev.inmo.jsuikit.modifiers
object UIKitPlaceholder : UIKitModifier {
override val classes: Array<String> = arrayOf("uk-placeholder")
}