Tomasz Krakowiak
05/11/2021, 12:45 PMTomasz Krakowiak
05/11/2021, 1:19 PMTomasz Krakowiak
05/11/2021, 2:34 PMtag(::DIV) {
tag.classes = "something"
}
I can make below work without cloning kotlinx-html:
div {
classes = "something"
}
But without kotlinx-html clone, I cannot make this work efficiently:
val myTag = div {
classes = "something"
}
// later
myTag.classes = "somethingElse"