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
Hotkeys API Reference

HotkeyCallbackContext

ts
type HotkeyCallbackContext = 
  | HotkeyChordCallbackContext
  | HotkeySequenceCallbackContext;
type HotkeyCallbackContext = 
  | HotkeyChordCallbackContext
  | HotkeySequenceCallbackContext;

Defined in: hotkey.types.ts:254

Context passed to hotkey callbacks along with the keyboard event. Narrow with kind to read parsedChord or parsedSequence.