Skip to main content

UseHotkeySequenceOptions

还没翻译译自英文(tanstack.com)本页 8 段都还没译

Defined in: useHotkeySequence.ts:13

Extends

  • Omit<SequenceOptions, "target">

Properties

target?

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

Defined in: useHotkeySequence.ts:22

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