focus-outside
📦 A good clickOutside library, and it solves the problem that iframe cannot trigger clickOutside.. 一个很棒的 clickOutside 库,并且它解决了 iframe 无法触发 clickOutside 的问题。
📦 A good clickOutside library, and it solves the problem that iframe cannot trigger clickOutside.. 一个很棒的 clickOutside 库,并且它解决了 iframe 无法触发 clickOutside 的问题。
Reusable tap-away directive to detect taps/clicks outside an element. Works with touch devices!
点击离开事件。如果 onblur 不能满足你,那就来 ClickAway 吧!
another vue3 clickaway directive
Use this component to wrap other components to detect if it is clicked outside of the wrapped container.
React Hook for detecting click events outside of a component with a callback.
A React component and hook to handle clicks outside a specified element, useful for closing dropdowns, modals, and more.
ReactJS utilities to to listen for click-away-events