All attribute values now will print their name as result of toString

This commit is contained in:
InsanusMokrassar 2022-03-30 20:48:38 +06:00
parent 33b1a7af65
commit 82f00fa23b
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,5 @@
package dev.inmo.jsuikit.modifiers
sealed class AttributeValue(val name: String)
sealed class AttributeValue(val name: String) {
override fun toString(): String = name
}

View File

@ -43,8 +43,6 @@ sealed class UIKitDropdown(classname: String) : UIKitModifier {
}
override fun toString(): String = name
}
sealed class Mode(name: String) : AttributeValue(name) {