Interface KeyBindingOptions
Hierarchy
- KeyBindingHandlerOptions
- KeyBindingOptions (view full)
Properties
Optional
capture
capture?: boolean
Key presses will use a capture listener (default: false)
Optional
event
event?: "keydown" | "keyup"
Key presses will listen to this event (default: "keydown").
Optional
timeout
timeout?: number
Keybinding sequences will wait this long between key presses before cancelling (default: 1000).
Note: Setting this value too low (i.e. 300
) will be too fast for many
of your users.
Options to configure the behavior of keybindings.