Skip to content

HotkeyChordRegistration

Defined in: hotkey-manager.ts:209

A registered chord in the HotkeyManager.

Extends

Properties

activeMatch?

ts
optional activeMatch?: KeyIdentity;

Defined in: hotkey-manager.ts:214

The concrete key/code that activated a requireReset registration.


callback

ts
callback: HotkeyCallback;

Defined in: hotkey-manager.ts:197

The callback to invoke

Inherited from

ts
RegistrationBase.callback

hasFired

ts
hasFired: boolean;

Defined in: hotkey-manager.ts:205

Whether this registration has fired (and, for requireReset chords, needs a reset)

Inherited from

ts
RegistrationBase.hasFired

hotkey

ts
hotkey: HotkeyChord;

Defined in: hotkey-manager.ts:211


id

ts
id: string;

Defined in: hotkey-manager.ts:195

Unique identifier for this registration

Inherited from

ts
RegistrationBase.id

kind

ts
kind: "chord";

Defined in: hotkey-manager.ts:210


options

ts
options: HotkeyChordOptions;

Defined in: hotkey-manager.ts:199

Resolved options for this registration

Inherited from

ts
RegistrationBase.options

parsedChord

ts
parsedChord: ParsedHotkeyChord;

Defined in: hotkey-manager.ts:212


target

ts
target: Target;

Defined in: hotkey-manager.ts:201

The resolved target element for this registration

Inherited from

ts
RegistrationBase.target

triggerCount

ts
triggerCount: number;

Defined in: hotkey-manager.ts:203

How many times this registration's callback has been triggered

Inherited from

ts
RegistrationBase.triggerCount