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

AppHotkeysStoreOptions

Defined in: app-hotkeys.ts:328

Options for AppHotkeysStore.

Type Parameters

T

T extends AppHotkeys = AppHotkeys

Properties

customHotkeys?

ts
optional customHotkeys?: CustomHotkeys<T> | null;
optional customHotkeys?: CustomHotkeys<T> | null;

Defined in: app-hotkeys.ts:330

Starting custom hotkeys, such as saved data. Invalid entries are ignored with a warning.


onCustomHotkeysChange?

ts
optional onCustomHotkeysChange?: (customHotkeys) => void;
optional onCustomHotkeysChange?: (customHotkeys) => void;

Defined in: app-hotkeys.ts:332

Called with the custom hotkeys after every change, ready to save.

Parameters

customHotkeys

CustomHotkeys<T>

Returns

void


platform?

ts
optional platform?: Platform;
optional platform?: Platform;

Defined in: app-hotkeys.ts:334

Platform used to compare hotkeys. Defaults to detection.