Docs
Cloudflare
Railway
CodeRabbit
SerpAPI
WorkOS
AG Grid
Clerk
OpenRouter
Netlify
Unkey
Electric
Sentry
Prisma
Cloudflare
Railway
CodeRabbit
SerpAPI
WorkOS
AG Grid
Clerk
OpenRouter
Netlify
Unkey
Electric
Sentry
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

UseHotkeySequenceOptions

Interface: UseHotkeySequenceOptions

Defined in: useHotkeySequence.ts:14

Extends

  • Omit<SequenceOptions, "target">

Properties

target?

ts
optional target: 
  | HTMLElement
  | Document
  | Window
  | RefObject<HTMLElement | null>
  | null;
optional target: 
  | HTMLElement
  | Document
  | Window
  | RefObject<HTMLElement | null>
  | null;

Defined in: useHotkeySequence.ts:23

The DOM element to attach the event listener to. Can be a Preact ref, direct DOM element, or null. Defaults to document.