本页还没有译文
本页 8 段还没译成Tiếng Việt,下面显示的是英文原文。CreateHotkeyOptions
还没翻译译自英文(tanstack.com)本页 8 段都还没译
Defined in: createHotkey.ts:16
Extends
Omit<HotkeyOptions,"target">
Properties
target?
optional target?: Document | Window | HTMLElement | null;Defined in: createHotkey.ts:24
The DOM element to attach the event listener to. Can be a direct DOM element, an accessor (for reactive targets that become available after mount), or null. Defaults to document. When using scoped targets, pass an accessor: () => ({ target: elementSignal() }) so the hotkey waits for the element to be attached before registering.
AI 翻译查看英文原文