Interface: KeyCombo
Defined in: src/lib/utils/shortcuts/index.ts:36
A key combination. cmd is the Command key on Apple devices and Ctrl elsewhere; ctrl is the Control key on Apple
devices only (elsewhere Ctrl is cmd).
Extended by
Properties
alt?
optionalalt?:boolean
Defined in: src/lib/utils/shortcuts/index.ts:42
cmd?
optionalcmd?:boolean
Defined in: src/lib/utils/shortcuts/index.ts:39
ctrl?
optionalctrl?:boolean
Defined in: src/lib/utils/shortcuts/index.ts:40
key
key:
string
Defined in: src/lib/utils/shortcuts/index.ts:38
Lowercase KeyboardEvent.key value, e.g. a, [, backspace or (Space)
shift?
optionalshift?:boolean
Defined in: src/lib/utils/shortcuts/index.ts:41