prepend

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

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

MDN Reference


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