Norbi
01/30/2024, 8:13 PMStyleSheet
API?
div.mystyle {
color: aliceblue;
}
Thanks.David Herman
01/30/2024, 8:20 PMDavid Herman
01/30/2024, 8:21 PMNorbi
01/30/2024, 10:18 PMNorbi
01/30/2024, 10:37 PMobject MyStyleSheet : StyleSheet() {
val mystyle by style {}
init {
(type("div") + className(mystyle)) style {
color(Color.aliceblue)
}
}
}
Norbi
01/31/2024, 4:43 PMobject MyStyleSheet : StyleSheet() {
val mystyle by style {
(type("div") + self) style {
color(Color.aliceblue)
}
}
}