appendText

JS
1.1
@DeprecatedSinceKotlin("1.4") fun Element.appendText(
    text: String
): Element
Deprecated: This API is moved to another package, use 'kotlinx.dom.appendText' instead.

Creates text node and append it to the element.

Return this element