Docs
Cloudflare
CodeRabbit
Railway
SerpAPI
WorkOS
Netlify
OpenRouter
AG Grid
Clerk
Electric
Sentry
Prisma
Unkey
Cloudflare
CodeRabbit
Railway
SerpAPI
WorkOS
Netlify
OpenRouter
AG Grid
Clerk
Electric
Sentry
Prisma
Unkey
API Reference
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 Sequence API Reference

UseHotkeySequenceDefinition

Interface: UseHotkeySequenceDefinition

Defined in: useHotkeySequences.ts:15

A single sequence definition for use with useHotkeySequences.

Properties

callback

ts
callback: HotkeyCallback;
callback: HotkeyCallback;

Defined in: useHotkeySequences.ts:19

The function to call when the sequence is completed


options?

ts
optional options: UseHotkeySequenceOptions;
optional options: UseHotkeySequenceOptions;

Defined in: useHotkeySequences.ts:21

Per-sequence options (merged on top of commonOptions)


sequence

ts
sequence: HotkeySequence;
sequence: HotkeySequence;

Defined in: useHotkeySequences.ts:17

Array of hotkey strings that form the sequence