Defined in: packages/svelte-hotkeys/src/createHotkeyRecorder.svelte.ts:15
THotkey extends Hotkey = Hotkey
cancelRecording: () => void;Defined in: packages/svelte-hotkeys/src/createHotkeyRecorder.svelte.ts:27
Cancel recording and call onCancel
void
commitRecording: () => void;Defined in: packages/svelte-hotkeys/src/createHotkeyRecorder.svelte.ts:29
Commit the recorded steps now (multi-step recordings)
void
readonly isRecording: boolean;Defined in: packages/svelte-hotkeys/src/createHotkeyRecorder.svelte.ts:17
Whether recording is currently active
readonly recordedHotkey: THotkey | null;Defined in: packages/svelte-hotkeys/src/createHotkeyRecorder.svelte.ts:21
The last committed hotkey
startRecording: () => void;Defined in: packages/svelte-hotkeys/src/createHotkeyRecorder.svelte.ts:23
Start recording a new hotkey
void
readonly steps: HotkeySequence;Defined in: packages/svelte-hotkeys/src/createHotkeyRecorder.svelte.ts:19
Chords recorded so far in a multi-step recording (for live preview)
stopRecording: () => void;Defined in: packages/svelte-hotkeys/src/createHotkeyRecorder.svelte.ts:25
Stop recording without calling onCancel
void