Interface: ShortcutDefinition
Defined in: src/lib/utils/shortcuts/index.ts:63
A keyboard shortcut action and its default key combinations
Properties
action
action:
ShortcutAction
Defined in: src/lib/utils/shortcuts/index.ts:67
combos
combos: readonly
KeyCombo[]
Defined in: src/lib/utils/shortcuts/index.ts:69
Default key combinations (a configurable action has one)
configurable
configurable:
boolean
Defined in: src/lib/utils/shortcuts/index.ts:71
Whether users can change or remove its key combination
group
group:
ShortcutGroup
Defined in: src/lib/utils/shortcuts/index.ts:66
id
id:
string
Defined in: src/lib/utils/shortcuts/index.ts:65
Names the action, e.g. to save its key combination and to translate its name (paintCanvas.shortcuts.<id>)