KEYBOARD_VALUES
enum
Interaction
Standard KeyboardEvent.key values used for hotkey detection and keyboard navigation.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Members
Members
All members of this enum. Click a value to copy it to clipboard.
- KEYBOARD_VALUES.ENTER
- The Enter key.
- KEYBOARD_VALUES.TAB
- The Tab key.
- KEYBOARD_VALUES.DELETE
- The Delete key.
- KEYBOARD_VALUES.ESC
- The Escape key.
- KEYBOARD_VALUES.SPACE
- The Space key.
- KEYBOARD_VALUES.UP
- The Arrow Up key.
- KEYBOARD_VALUES.DOWN
- The Arrow Down key.
- KEYBOARD_VALUES.LEFT
- The Arrow Left key.
- KEYBOARD_VALUES.RIGHT
- The Arrow Right key.
- KEYBOARD_VALUES.END
- The End key.
- KEYBOARD_VALUES.HOME
- The Home key.
- KEYBOARD_VALUES.BACKSPACE
- The Backspace key.
- KEYBOARD_VALUES.INSERT
- The Insert key.
- KEYBOARD_VALUES.PAGEUP
- The Page Up key.
- KEYBOARD_VALUES.PAGEDOWN
- The Page Down key.
- KEYBOARD_VALUES.SHIFT
- The Shift key.
- KEYBOARD_VALUES.EMPTY
- A single space character, used as an empty key sentinel.
Ecosystem
Used by
Components and props that accept this enum as a value.
Usage
Examples
Ready-to-paste code snippets using this enum.
Listening to a keyboard event