DOM Primitives

DOM Primitives

NPM Build Status Code Quality Coverage GitHub Project API Documentation

An assorted set of basic DOM-related. See the API documentation.

DOM Node Types

These function check whether the target DOM node is of corresponding type:

DOM Inspection

  • nodeDocument - Returns a document of the given DOM node.

  • nodeHost - Finds a host element of the given DOM node. I.e. an enclosing element.

    Crosses shadow DOM bounds.

  • nodeWindow - Returns an owner window of the given DOM node.

DOM Manipulation

Generated using TypeDoc