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
Hotkeys API Reference
App Hotkeys API Reference
Key hold & held keys API Reference
Hotkey Recorder API Reference
Normalization & format API Reference
Hotkey Recorder API Reference

HotkeyRecorderState

Defined in: hotkey-recorder.ts:72

State interface for the HotkeyRecorder.

Properties

isRecording

ts
isRecording: boolean;
isRecording: boolean;

Defined in: hotkey-recorder.ts:74

Whether recording is currently active


recordedHotkey

ts
recordedHotkey: Hotkey | null;
recordedHotkey: Hotkey | null;

Defined in: hotkey-recorder.ts:78

The last committed hotkey: a chord, or a sequence of two or more steps


steps

ts
steps: HotkeySequence;
steps: HotkeySequence;

Defined in: hotkey-recorder.ts:76

Chords recorded so far in a multi-step recording (empty for maxSteps: 1)