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
Hotkey Recorder API Reference

HotkeyConflictOptions

Defined in: conflicts.ts:19

Properties

events?

ts
optional events?: readonly KeyboardEvent[];
optional events?: readonly KeyboardEvent[];

Defined in: conflicts.ts:35

Source events allow detecting physical/logical overlap on the recorded layout.


eventType?

ts
optional eventType?: "keydown" | "keyup";
optional eventType?: "keydown" | "keyup";

Defined in: conflicts.ts:25

Intended event type. Default: keydown.


exclude?

ts
optional exclude?: (registration) => boolean;
optional exclude?: (registration) => boolean;

Defined in: conflicts.ts:31

Additional app-specific exclusions, such as all instances of one action.

Parameters

registration

HotkeyRegistrationView

Returns

boolean


excludeIds?

ts
optional excludeIds?: readonly string[];
optional excludeIds?: readonly string[];

Defined in: conflicts.ts:29

IDs of registrations being edited.


includeDisabled?

ts
optional includeDisabled?: boolean;
optional includeDisabled?: boolean;

Defined in: conflicts.ts:27

Include disabled registrations. Default: false.


platform?

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

Defined in: conflicts.ts:33

Platform used to resolve Mod in the candidate. Registrations retain their own platform.


scope?

ts
optional scope?: "all" | "overlapping";
optional scope?: "all" | "overlapping";

Defined in: conflicts.ts:23

Check all targets instead of overlapping targets. Default: overlapping.


target?

ts
optional target?: HTMLElement | Document | Window;
optional target?: HTMLElement | Document | Window;

Defined in: conflicts.ts:21

Intended registration target. Defaults to document; disjoint targets are excluded.