Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Readonly childElementCount

childElementCount: number

Readonly children

Returns the child elements.

Readonly firstElementChild

firstElementChild: null | <internal>.Element

Returns the first child that is an element, and null otherwise.

Readonly lastElementChild

lastElementChild: null | <internal>.Element

Returns the last child that is an element, and null otherwise.

Methods

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.

    Parameters

    Returns void

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

    Returns void

querySelector

querySelectorAll

Generated using TypeDoc