Function appendChild

  • appendChild(elem: Element, child: ChildNode): void
  • Append a child to an element.

    Parameters

    • elem: Element

      The element to append to.

    • child: ChildNode

      The element to be added as a child.

    Returns void