https://kotlinlang.org logo
#kweb
Title
# kweb
i

Ian

03/16/2017, 5:46 PM
Trying to think through an API design question. Currently there is a createElement() extension function on Element which creates a child element with given tag, attributes etc. There are then a bunch of extensions on Element for different tag types like h1(), p(), etc, all of which call createElement().