@frontmeans/dom-primitives
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @frontmeans/dom-primitives

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

24.7 kB

Total Files

7

Last publish

Collaborators

  • lorus