Docs
CodeRabbit
Cloudflare
Railway
OpenRouter
Clerk
Netlify
SerpAPI
WorkOS
AG Grid
Unkey
Sentry
Electric
Prisma
CodeRabbit
Cloudflare
Railway
OpenRouter
Clerk
Netlify
SerpAPI
WorkOS
AG Grid
Unkey
Sentry
Electric
Prisma
Hotkeys API Reference
Hotkey Sequence API Reference
Key hold & held keys API Reference
Hotkey Recorder API Reference
Hotkey Sequence Recorder API Reference
Normalization & format API Reference
Hotkey Sequence API Reference

InjectHotkeySequenceOptions

Interface: InjectHotkeySequenceOptions

Defined in: injectHotkeySequence.ts:13

Extends

  • Omit<SequenceOptions, "enabled" | "target">

Properties

enabled?

ts
optional enabled: boolean;
optional enabled: boolean;

Defined in: injectHotkeySequence.ts:18

Whether the sequence is enabled. Defaults to true.


target?

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

Defined in: injectHotkeySequence.ts:24

The DOM element to attach the event listener to. Can be a direct DOM element, an accessor target, or null. Defaults to document when omitted.