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

CreateHotkeyHandlerOptions

Interface: CreateHotkeyHandlerOptions

Defined in: match.ts:132

Options for creating a hotkey handler.

Properties

platform?

ts
optional platform: "mac" | "windows" | "linux";

Defined in: match.ts:138

The target platform for resolving 'Mod'


preventDefault?

ts
optional preventDefault: boolean;

Defined in: match.ts:134

Prevent the default browser action when the hotkey matches. Defaults to true


stopPropagation?

ts
optional stopPropagation: boolean;

Defined in: match.ts:136

Stop event propagation when the hotkey matches. Defaults to true