Skip to content

ShortcutDetail

ShortcutDetail = object

Defined in: types.ts:13

context: string

Defined in: types.ts:20

The context the shortcut was registered in.


optional description?: string

Defined in: types.ts:22

The description given to listen(), if any.


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: string

Defined in: types.ts:16

The keys actually held, in canonical form, e.g. 'arrowup+shift'.