@hsds/utils-focus

9.0.2-esm.1 • Public • Published

utils-focus

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

Includes:

  • FOCUSABLE_SELECTOR
  • findFocusableNodes
  • findFirstFocusableNode
  • findLastFocusableNode
  • findCurrentFocusedNodeIndex
  • findNextFocusableNode
  • findPreviousFocusableNode
  • focusNextFocusableNode
  • focusPreviousFocusableNode
  • getClosestFocusableParent
  • manageTrappedFocus

Running unit tests

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

Readme

Keywords

none

Package Sidebar

Install

npm i @hsds/utils-focus

Weekly Downloads

364

Version

9.0.2-esm.1

License

none

Unpacked Size

20.7 kB

Total Files

7

Last publish

Collaborators

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