@wopjs/dom - v0.1.3
    Preparing search index...

    Function prepend

    • Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.

      Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

      Parameters

      • el: Element
      • ...nodes: (string | Node)[]

      Returns void