TanStack
Hotkey Sequence API Reference

InjectHotkeySequenceOptions

Defined in: injectHotkeySequence.ts:13

Extends

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

Properties

enabled?

ts
optional enabled?: boolean;

Defined in: injectHotkeySequence.ts:18

Whether the sequence is enabled. Defaults to true.


target?

ts
optional target?: Document | Window | HTMLElement | 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.