JS: example library to use new library format
This commit is contained in:
@@ -5,6 +5,6 @@ import kotlin.browser.document
|
||||
fun myApp() {
|
||||
val element = document.getElementById("foo")
|
||||
if (element != null) {
|
||||
element.appendChild(document.createTextNode("Some Dynamically Created Content!!!")!!)
|
||||
element.appendChild(document.createTextNode("Some Dynamically Created Content!!!"))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user