Interface: Shortcut
Defined in: src/lib/utils/shortcuts/index.ts:46
A key combination and the action it runs
Extends
Properties
action
action:
ShortcutAction
Defined in: src/lib/utils/shortcuts/index.ts:47
alt?
optionalalt?:boolean
Defined in: src/lib/utils/shortcuts/index.ts:42
Inherited from
cmd?
optionalcmd?:boolean
Defined in: src/lib/utils/shortcuts/index.ts:39
Inherited from
ctrl?
optionalctrl?:boolean
Defined in: src/lib/utils/shortcuts/index.ts:40
Inherited from
key
key:
string
Defined in: src/lib/utils/shortcuts/index.ts:38
Lowercase KeyboardEvent.key value, e.g. a, [, backspace or (Space)
Inherited from
shift?
optionalshift?:boolean
Defined in: src/lib/utils/shortcuts/index.ts:41