New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@builtwithjavascript/use-click-outside

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@builtwithjavascript/use-click-outside

Exposes hook useClickOutside to make it easier to listen for clicks outside of an element. Useful for modal or dropdown.

latest
Source
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

use-click-outside

Exposes hook useClickOutside to make it easier to listen for clicks outside of an element. Useful for modals, dropdowns, etc.

Dependencies

@builtwithjavascript/use-event-listener

Credits

Code is inspired by @vueuse npm package and used accordingly to the MIT license: https://github.com/vueuse/vueuse/blob/main/packages/core/onClickOutside/index.ts

Keywords

event listener, dom, utils, helpers, javascript

FAQs

Package last updated on 25 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts