Defined in: packages/svelte-hotkeys/src/createHotkeys.svelte.ts:23
A single hotkey definition for use with createHotkeys.
callback: HotkeyCallback;
Defined in: packages/svelte-hotkeys/src/createHotkeys.svelte.ts:27
The function to call when the hotkey is pressed
hotkey: MaybeGetter<RegisterableHotkey>;
Defined in: packages/svelte-hotkeys/src/createHotkeys.svelte.ts:25
The hotkey string (e.g., 'Mod+S', 'Escape') or RawHotkey object
optional options: MaybeGetter<CreateHotkeyOptions>;
Defined in: packages/svelte-hotkeys/src/createHotkeys.svelte.ts:29
Per-hotkey options (merged on top of commonOptions)