ShortcutDetail
ShortcutDetail =
object
Defined in: types.ts:13
Properties
Section titled “Properties”context
Section titled “context”context:
string
Defined in: types.ts:20
The context the shortcut was registered in.
description?
Section titled “description?”
optionaldescription?:string
Defined in: types.ts:22
The description given to listen(), if any.
pattern
Section titled “pattern”pattern:
string
Defined in: types.ts:18
The registered shortcut in canonical form, e.g. 'arrow*+shift'. Same as shortcut without wildcards.
phase:
Phase
Defined in: types.ts:14
shortcut
Section titled “shortcut”shortcut:
string
Defined in: types.ts:16
The keys actually held, in canonical form, e.g. 'arrowup+shift'.