UseClickOutsideOptions
Defined in: src/hooks/useClickOutside/useClickOutside.ts:9
Properties
Section titled “Properties”enabled?
Section titled “enabled?”
optionalenabled?:boolean
Defined in: src/hooks/useClickOutside/useClickOutside.ts:15
When false, the listener is not attached. Useful for toggling without unmount.
Default
Section titled “Default”trueevent?
Section titled “event?”
optionalevent?:"click"|"mousedown"|"pointerdown"
Defined in: src/hooks/useClickOutside/useClickOutside.ts:20
Mouse / pointer event to listen for.
Default
Section titled “Default”'mousedown'