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

    Function append

    • Inserts nodes after the last 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.

      Type Parameters

      • T extends Node

      Parameters

      • el: Element
      • node: T

      Returns T

    • Inserts nodes after the last 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.

      Type Parameters

      • T extends Node

      Parameters

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

      Returns void