appendElement

inline fun Element.appendElement(name: String, noinline init: Element.() -> Unit): Element(source)

Deprecated

Warning since 1.4

Error since 1.6

Hidden since 2.1

This API is moved to another package, use 'kotlinx.dom.appendElement' instead.

Replace with

import kotlinx.dom.appendElement
this.appendElement(name, init)

Appends a newly created element with the specified name to this element.

The element is initialized with the specified init function.

Since Kotlin

1.1