KEYBOARD_MODIFIERS_KEY
enum
Interaction
Keyboard modifier key identifiers used for hotkey configuration (ctrl, shift, alt, meta, cmd).
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_MODIFIERS_KEY.CONTROL
- The Control (Ctrl) modifier key.
- KEYBOARD_MODIFIERS_KEY.SHIFT
- The Shift modifier key.
- KEYBOARD_MODIFIERS_KEY.ALT
- The Alt (Option on macOS) modifier key.
- KEYBOARD_MODIFIERS_KEY.META
- The Meta key (Windows key on PC, Command on macOS).
- KEYBOARD_MODIFIERS_KEY.COMMAND
- Alias for the Command (Cmd) key on macOS.
Ecosystem
Used by
Components and props that accept this enum as a value.
Usage
Examples
Ready-to-paste code snippets using this enum.
Defining a hotkey with modifier