@hsds/utils-dom

9.0.2 • Public • Published

utils-dom

This library is part of Help Scout's @hsds.

Includes:

  • isNodeElement
  • getNodeScope
  • getClosestDocument
  • getClosestNode
  • nodesHaveSameParent

Running unit tests

Run nx test utils-dom to execute the unit tests via Jest.

/@hsds/utils-dom/

    Package Sidebar

    Install

    npm i @hsds/utils-dom

    Weekly Downloads

    77

    Version

    9.0.2

    License

    none

    Unpacked Size

    10.5 kB

    Total Files

    6

    Last publish

    Collaborators

    • kdipaolo
    • luketlancaster
    • charca
    • justin-helpscout
    • jjanczyk
    • tinkertrain
    • helpscout