TanStack
Hotkeys API Reference

HotkeySequenceRegistrationView

Defined in: hotkey-manager.ts:240

Public view of a sequence registration, without its callback.

Extends

  • RegistrationViewBase

Properties

hasFired

ts
hasFired: boolean;

Defined in: hotkey-manager.ts:228

Inherited from

ts
RegistrationViewBase.hasFired

hotkey

ts
hotkey: HotkeySequence;

Defined in: hotkey-manager.ts:242


id

ts
id: string;

Defined in: hotkey-manager.ts:223

Inherited from

ts
RegistrationViewBase.id

kind

ts
kind: "sequence";

Defined in: hotkey-manager.ts:241


matchedStepCount

ts
matchedStepCount: number;

Defined in: hotkey-manager.ts:246

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


options

ts
options: HotkeySequenceOptions;

Defined in: hotkey-manager.ts:244


parsedSequence

ts
parsedSequence: ParsedHotkeyChord[];

Defined in: hotkey-manager.ts:243


partialMatchLastKeyTime

ts
partialMatchLastKeyTime: number;

Defined in: hotkey-manager.ts:248

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


status

ts
status: HotkeyRegistrationStatus;

Defined in: hotkey-manager.ts:225

Whether the registration is enabled and in an active scope.

Inherited from

ts
RegistrationViewBase.status

target

ts
target: Target;

Defined in: hotkey-manager.ts:226

Inherited from

ts
RegistrationViewBase.target

triggerCount

ts
triggerCount: number;

Defined in: hotkey-manager.ts:227

Inherited from

ts
RegistrationViewBase.triggerCount