Skip to main content

HotkeyRegistrationView

Defined in: hotkey-manager.ts:86

Public view of a hotkey registration for display and introspection. Omits the callback function which is an internal implementation detail.

Properties

hasFired

hasFired: boolean;

Defined in: hotkey-manager.ts:100

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


hotkey

hotkey: Hotkey;

Defined in: hotkey-manager.ts:88

The original hotkey string


id

id: string;

Defined in: hotkey-manager.ts:90

Unique identifier for this registration


options

options: HotkeyOptions;

Defined in: hotkey-manager.ts:92

Options for this registration


parsedHotkey

parsedHotkey: ParsedHotkey;

Defined in: hotkey-manager.ts:94

The parsed hotkey


target

target: Document | Window | HTMLElement;

Defined in: hotkey-manager.ts:96

The resolved target element for this registration


triggerCount

triggerCount: number;

Defined in: hotkey-manager.ts:98

How many times this registration's callback has been triggered