append

open fun append(vararg nodes: Node)(source)

The Document.append() method inserts a set of Node objects or strings after the last child of the document. Strings are inserted as equivalent Text nodes.

MDN Reference


open fun append(vararg nodes: String)(source)