Skip to content

KeyboardShortcutBinding

Defines a keyboard shortcut binding with a key

key: string

Key value (e.g., ‘c’, ‘Delete’, ‘ArrowUp’)

https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values - Complete list of valid key values


optional modifiers: Partial<InputModifiers>

Required modifier keys (all are optional - omitted means no modifiers required)