mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-12-22 08:37:24 +00:00
All attribute values now will print their name as result of toString
This commit is contained in:
parent
33b1a7af65
commit
82f00fa23b
@ -1,3 +1,5 @@
|
|||||||
package dev.inmo.jsuikit.modifiers
|
package dev.inmo.jsuikit.modifiers
|
||||||
|
|
||||||
sealed class AttributeValue(val name: String)
|
sealed class AttributeValue(val name: String) {
|
||||||
|
override fun toString(): String = name
|
||||||
|
}
|
||||||
|
@ -43,8 +43,6 @@ sealed class UIKitDropdown(classname: String) : UIKitModifier {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun toString(): String = name
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sealed class Mode(name: String) : AttributeValue(name) {
|
sealed class Mode(name: String) : AttributeValue(name) {
|
||||||
|
Loading…
Reference in New Issue
Block a user