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

PreactHotkeyRecorder

Interface: PreactHotkeyRecorder

Defined in: useHotkeyRecorder.ts:7

Properties

cancelRecording()

ts
cancelRecording: () => void;

Defined in: useHotkeyRecorder.ts:17

Cancel recording without saving

Returns

void


isRecording

ts
isRecording: boolean;

Defined in: useHotkeyRecorder.ts:9

Whether recording is currently active


recordedHotkey

ts
recordedHotkey: Hotkey | null;

Defined in: useHotkeyRecorder.ts:11

The currently recorded hotkey (for live preview)


startRecording()

ts
startRecording: () => void;

Defined in: useHotkeyRecorder.ts:13

Start recording a new hotkey

Returns

void


stopRecording()

ts
stopRecording: () => void;

Defined in: useHotkeyRecorder.ts:15

Stop recording (same as cancel)

Returns

void