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

ActivateHotkeyScopeOptions

Defined in: hotkey-manager.ts:370

Options for HotkeyManager.activateScope.

Properties

exclusive?

ts
optional exclusive?: 
  | boolean
  | {
  allow: readonly string[];
};
optional exclusive?: 
  | boolean
  | {
  allow: readonly string[];
};

Defined in: hotkey-manager.ts:377

Suspend every other scope, including 'global', until this activation is released. Scopes nested in this one stay active. Pass { allow } to keep other scopes active too, such as { allow: ['global'] }. An allowed scope still has to be activated, except 'global'.


parent?

ts
optional parent?: string;
optional parent?: string;

Defined in: hotkey-manager.ts:383

The scope this one is nested in. A nested scope takes precedence over its ancestors even when it was activated first, as nested providers are when their effects run child-first. Defaults to 'global'.