ShortcutInfo
ShortcutInfo =
object
Defined in: types.ts:75
A registered shortcut, as listed by shortcuts().
Properties
Section titled “Properties”active
Section titled “active”active:
boolean
Defined in: types.ts:87
Whether the shortcut’s context is active, so the shortcut works right now.
context
Section titled “context”context:
string
Defined in: types.ts:83
description?
Section titled “description?”
optionaldescription?:string
Defined in: types.ts:85
keys:
string[]
Defined in: types.ts:82
Canonical key names for this platform, modifiers first: ['meta', 'k'] on macOS,
['control', 'k'] elsewhere. Wildcards stay as written, e.g. 'arrow*'.
phases
Section titled “phases”phases:
Phase[]
Defined in: types.ts:84
shortcut
Section titled “shortcut”shortcut:
string
Defined in: types.ts:77
The shortcut as passed to listen(), e.g. 'ControlOrMeta+K'.