Pacote
Preparing search index...
@pacote/react-use-outside
useOutside
Function useOutside
useOutside
<
E
extends
HTMLElement
>
(
type
:
(keyof DocumentEventMap)
|
(keyof DocumentEventMap)
[]
,
handler
:
EventListener
,
)
:
RefObject
<
E
>
Type Parameters
E
extends
HTMLElement
Parameters
type
: (keyof DocumentEventMap)
|
(keyof DocumentEventMap)
[]
handler
:
EventListener
Returns
RefObject
<
E
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Pacote
Loading...