Preparing search index...
The search index is not available
Hydrateless API
Hydrateless API
@hydrateless/enhancers
onEscape
Function onEscape
onEscape
(
handler
:
(
event
:
KeyboardEvent
)
=>
void
,
target
?:
EventTarget
,
)
:
Disposer
Call
handler
when Escape is pressed on
target
(defaults to the document).
Parameters
handler
:
(
event
:
KeyboardEvent
)
=>
void
target
:
EventTarget
= document
Returns
Disposer
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Hydrateless API
Loading...
Call
handlerwhen Escape is pressed ontarget(defaults to the document).