kotlin-stdlib / kotlin.dom / appendText appendText JS 1.1 @DeprecatedSinceKotlin("1.4", "1.6") fun Element.appendText( text: String): Element(source) 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