Hotkey Sequence API Reference

CreateHotkeySequenceOptions

Interface: CreateHotkeySequenceOptions

Defined in: createHotkeySequence.ts:11

Extends

  • Omit\<`SequenceOptions`, `"target"`\>

Properties

target?

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

Defined in: createHotkeySequence.ts:19

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