Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

@hsds/utils-focus

Package Overview
Dependencies
1
Maintainers
6
Versions
24
Issues
File Explorer

Advanced tools

@hsds/utils-focus

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

    7.1.2latest
    npm

Version published
Maintainers
6
Weekly downloads
706
increased by7.79%

Weekly downloads

Readme

Source

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.

Up to date with hsds-react v3.54.11

FAQs

Last updated on 23 Feb 2023

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc