Skip to content

HotkeySequenceRegistrationView

Defined in: hotkey-manager.ts:282

Public view of a sequence registration, without its callback.

Extends

  • RegistrationViewBase

Properties

hasFired

ts
hasFired: boolean;

Defined in: hotkey-manager.ts:265

Inherited from

ts
RegistrationViewBase.hasFired

hotkey

ts
hotkey: HotkeySequence;

Defined in: hotkey-manager.ts:284


id

ts
id: string;

Defined in: hotkey-manager.ts:260

Inherited from

ts
RegistrationViewBase.id

kind

ts
kind: "sequence";

Defined in: hotkey-manager.ts:283


matchedStepCount

ts
matchedStepCount: number;

Defined in: hotkey-manager.ts:288

Steps matched in the current attempt (0 when idle or just completed).


options

ts
options: HotkeySequenceOptions;

Defined in: hotkey-manager.ts:286


parsedSequence

ts
parsedSequence: ParsedHotkeyChord[];

Defined in: hotkey-manager.ts:285


partialMatchLastKeyTime

ts
partialMatchLastKeyTime: number;

Defined in: hotkey-manager.ts:290

Date.now() when the last step in the current attempt matched; 0 if none.


status

ts
status: HotkeyRegistrationStatus;

Defined in: hotkey-manager.ts:262

Whether the registration is enabled and in an active scope.

Inherited from

ts
RegistrationViewBase.status

target

ts
target: Target;

Defined in: hotkey-manager.ts:263

Inherited from

ts
RegistrationViewBase.target

trigger

ts
trigger: (event?) => boolean;

Defined in: hotkey-manager.ts:270

Runs the registration's callback, as for a command palette entry. See HotkeyManager.trigger.

Parameters

event?

KeyboardEvent

Returns

boolean

Inherited from

ts
RegistrationViewBase.trigger

triggerCount

ts
triggerCount: number;

Defined in: hotkey-manager.ts:264

Inherited from

ts
RegistrationViewBase.triggerCount