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

RawModifiers

Defined in: hotkey.types.ts:163

Modifier flags shared by logical-key and physical-code registrations.

Properties

alt?

ts
optional alt?: boolean;
optional alt?: boolean;

Defined in: hotkey.types.ts:171

Whether the Alt key is required. Defaults to false.


ctrl?

ts
optional ctrl?: boolean;
optional ctrl?: boolean;

Defined in: hotkey.types.ts:167

Whether the Control key is required. Defaults to false.


meta?

ts
optional meta?: boolean;
optional meta?: boolean;

Defined in: hotkey.types.ts:173

Whether the Meta (Command) key is required. Defaults to false.


mod?

ts
optional mod?: boolean;
optional mod?: boolean;

Defined in: hotkey.types.ts:165

Platform-adaptive modifier: Command on macOS, Control on Windows/Linux. Defaults to false.


shift?

ts
optional shift?: boolean;
optional shift?: boolean;

Defined in: hotkey.types.ts:169

Whether the Shift key is required. Defaults to false.