Defined in: useHotkeys.ts:19
A single hotkey definition for use with useHotkeys.
callback: HotkeyCallback;Defined in: useHotkeys.ts:23
The function to call when the hotkey is pressed
hotkey: MaybeRefOrGetter<RegisterableHotkey>;Defined in: useHotkeys.ts:21
The hotkey string (e.g., 'Mod+S', 'Escape') or RawHotkey object
optional options?: MaybeRefOrGetter<UseHotkeyOptions>;Defined in: useHotkeys.ts:25
Per-hotkey options (merged on top of commonOptions)