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

SequenceOptions

Interface: SequenceOptions

Defined in: sequence-manager.ts:27

Options for hotkey sequence matching. Extends HotkeyOptions but excludes requireReset (not applicable to sequences).

Extends

Properties

conflictBehavior?

ts
optional conflictBehavior: ConflictBehavior;

Defined in: hotkey-manager.ts:29

Behavior when this hotkey conflicts with an existing registration on the same target. Defaults to 'warn'

Inherited from

HotkeyOptions.conflictBehavior


enabled?

ts
optional enabled: boolean;

Defined in: hotkey-manager.ts:35

Soft-disable: when false, the callback does not run but the registration stays in HotkeyManager (and in devtools). Toggling this should update the existing handle via setOptions rather than unregistering. Defaults to true.

Inherited from

HotkeyOptions.enabled


eventType?

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

Defined in: hotkey-manager.ts:37

The event type to listen for. Defaults to 'keydown'

Inherited from

HotkeyOptions.eventType


ignoreInputs?

ts
optional ignoreInputs: boolean;

Defined in: hotkey-manager.ts:39

Whether to ignore hotkeys when keyboard events originate from input-like elements (text inputs, textarea, select, contenteditable — button-type inputs like type=button/submit/reset are not ignored). Defaults based on hotkey: true for single keys and Shift/Alt combos; false for Ctrl/Meta shortcuts and Escape

Inherited from

HotkeyOptions.ignoreInputs


platform?

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

Defined in: hotkey-manager.ts:41

The target platform for resolving 'Mod'

Inherited from

HotkeyOptions.platform


preventDefault?

ts
optional preventDefault: boolean;

Defined in: hotkey-manager.ts:43

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

Inherited from

HotkeyOptions.preventDefault


stopPropagation?

ts
optional stopPropagation: boolean;

Defined in: hotkey-manager.ts:47

Stop event propagation when the hotkey matches. Defaults to true

Inherited from

HotkeyOptions.stopPropagation


target?

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

Defined in: hotkey-manager.ts:49

The DOM element to attach the event listener to. Defaults to document.

Inherited from

HotkeyOptions.target


timeout?

ts
optional timeout: number;

Defined in: sequence-manager.ts:29

Timeout between keys in milliseconds. Default: 1000