KeyboardShortcuts<E,C>
Type Parameters
| E | KeyboardInput | |
| C | KeyboardContext<E> |
Map of keyboard shortcut specifications. The keys for this map are strings specifying one or more key combinations. The values are either boolean false, indicating the given mapping should be disabled, a handler function (which is invoked on keydown), or a combination of a function to run on keydown and one to run on keyup. For key specifiers, whitespace separates alternatives. Characters are case sensitive unless suffixed /i; named keys and modifiers ignore case.
Exact character bindings accept Shift used to produce that character (for example K or !).
Explicit Shift modifiers must be pressed. Named keys and /i bindings match Shift exactly.
Exact character bindings accept Shift used to produce that character (for example K or !).
Explicit Shift modifiers must be pressed. Named keys and /i bindings match Shift exactly.
Record<string,KeyboardHandler<E,C> | KeyboardBinding<E,C> | false>