Defined in: hotkey-manager.ts:319
Public view of a sequence registration, without its callback.
optional alternateOf?: string;Defined in: hotkey-manager.ts:302
For a further registration of platformHotkeys, the id of the first hotkey of the same call that registered. The first one has none. Group a list by alternateOf ?? id to get the registrations of one call.
RegistrationViewBase.alternateOfhasFired: boolean;Defined in: hotkey-manager.ts:291
RegistrationViewBase.hasFiredhotkey: HotkeySequence;Defined in: hotkey-manager.ts:321
id: string;Defined in: hotkey-manager.ts:286
RegistrationViewBase.idkind: "sequence";Defined in: hotkey-manager.ts:320
matchedStepCount: number;Defined in: hotkey-manager.ts:325
Steps matched in the current attempt (0 when idle or just completed).
options: HotkeySequenceOptions;Defined in: hotkey-manager.ts:323
parsedSequence: ParsedHotkeyChord[];Defined in: hotkey-manager.ts:322
partialMatchLastKeyTime: number;Defined in: hotkey-manager.ts:327
Date.now() when the last step in the current attempt matched; 0 if none.
optional platformHotkeys?: PlatformHotkeys;Defined in: hotkey-manager.ts:296
The hotkey object this was registered with, if any. hotkey is its entry for this platform, or one of its alternates.
RegistrationViewBase.platformHotkeysstatus: HotkeyRegistrationStatus;Defined in: hotkey-manager.ts:288
Whether the registration is enabled and in an active scope.
RegistrationViewBase.statustarget: Target;Defined in: hotkey-manager.ts:289
RegistrationViewBase.targettrigger: (event?) => boolean;Defined in: hotkey-manager.ts:307
Runs the registration's callback, as for a command palette entry. See HotkeyManager.trigger.
KeyboardEvent
boolean
RegistrationViewBase.triggertriggerCount: number;Defined in: hotkey-manager.ts:290
RegistrationViewBase.triggerCount