kotlin-stdlib / kotlin.dom / appendElement appendElement JS 1.1 @DeprecatedSinceKotlin("1.4", "1.6") inline fun Element.appendElement( name: String, noinline init: Element.() -> Unit): Element(source) Deprecated: This API is moved to another package, use 'kotlinx.dom.appendElement' instead. Appends a newly created element with the specified name to this element. The element is initialized with the specified init function.