mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-12-29 03:57:15 +00:00
now it is possible to include nullable modifiers in attrs
This commit is contained in:
parent
b836fe744e
commit
33fbd2c0be
@ -10,7 +10,7 @@ import org.w3c.dom.Element
|
|||||||
import org.w3c.dom.HTMLInputElement
|
import org.w3c.dom.HTMLInputElement
|
||||||
|
|
||||||
class AttributesCollection<T : Element, Builder : AttrsBuilder<T>> (
|
class AttributesCollection<T : Element, Builder : AttrsBuilder<T>> (
|
||||||
private vararg val modifiers: UIKitModifier,
|
private vararg val modifiers: UIKitModifier?,
|
||||||
private val attrs: Builder.() -> Unit = {}
|
private val attrs: Builder.() -> Unit = {}
|
||||||
) {
|
) {
|
||||||
val builder: Builder.() -> Unit = {
|
val builder: Builder.() -> Unit = {
|
||||||
|
Loading…
Reference in New Issue
Block a user