@tempots/dom

DOMContext.appendOrInsert property

Appends or inserts a child node to the element, depending on whether a reference node is provided.

Signature:

readonly appendOrInsert: (child: Node) => void;