@raddix/use-click-outside
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

useClickOutside

The useClickOutside hook is used to detect clicks outside of a specified element. It is useful for detecting clicks outside of a dropdown menu, modal, or any other element that should be closed when the user clicks outside of it.

Please refer to the documentation for more information.

Readme

Keywords

none

Package Sidebar

Install

npm i @raddix/use-click-outside

Homepage

raddix.dev

Weekly Downloads

26

Version

0.1.2

License

MIT

Unpacked Size

5.07 kB

Total Files

6

Last publish

Collaborators

  • immois