TanStack
Hotkeys API Reference

HotkeyChordRegistrationView

Defined in: hotkey-manager.ts:274

Public view of a chord 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: HotkeyChord;

Defined in: hotkey-manager.ts:276


id

ts
id: string;

Defined in: hotkey-manager.ts:260

Inherited from

ts
RegistrationViewBase.id

kind

ts
kind: "chord";

Defined in: hotkey-manager.ts:275


options

ts
options: HotkeyChordOptions;

Defined in: hotkey-manager.ts:278


parsedChord

ts
parsedChord: ParsedHotkeyChord;

Defined in: hotkey-manager.ts:277


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