kotlin-stdlib / kotlin.dom / appendText appendText JS 1.1 fun Element.appendText(text: String): Element Creates text node and append it to the element. Return this element