Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
API Reference
Hotkeys API Reference
Hotkey Sequence API Reference
Key Hold API Reference
Held Keys API Reference
Hotkey Recorder API Reference
Hotkey Sequence Recorder API Reference
Format for Display API Reference
Hotkeys API Reference

HotkeyRegistration

Interface: HotkeyRegistration

Defined in: hotkey-manager.ts:55

A registered hotkey handler in the HotkeyManager.

Properties

callback

ts
callback: HotkeyCallback;

Defined in: hotkey-manager.ts:57

The callback to invoke


hasFired

ts
hasFired: boolean;

Defined in: hotkey-manager.ts:59

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


hotkey

ts
hotkey: Hotkey;

Defined in: hotkey-manager.ts:61

The original hotkey string


id

ts
id: string;

Defined in: hotkey-manager.ts:63

Unique identifier for this registration


options

ts
options: HotkeyOptions;

Defined in: hotkey-manager.ts:65

Options for this registration


parsedHotkey

ts
parsedHotkey: ParsedHotkey;

Defined in: hotkey-manager.ts:67

The parsed hotkey


target

ts
target: HTMLElement | Document | Window;

Defined in: hotkey-manager.ts:69

The resolved target element for this registration


triggerCount

ts
triggerCount: number;

Defined in: hotkey-manager.ts:71

How many times this registration's callback has been triggered