Defined in: injectHotkeyRecorder.ts:22
THotkey extends Hotkey = Hotkey
readonly cancelRecording: () => void;Defined in: injectHotkeyRecorder.ts:34
Cancel recording and call onCancel
void
readonly commitRecording: () => void;Defined in: injectHotkeyRecorder.ts:36
Commit the recorded steps now (multi-step recordings)
void
readonly isRecording: () => boolean;Defined in: injectHotkeyRecorder.ts:24
Whether recording is currently active
boolean
readonly recordedHotkey: () => THotkey | null;Defined in: injectHotkeyRecorder.ts:28
The last committed hotkey
THotkey | null
readonly startRecording: () => void;Defined in: injectHotkeyRecorder.ts:30
Start recording a new hotkey
void
readonly steps: () => HotkeySequence;Defined in: injectHotkeyRecorder.ts:26
Chords recorded so far in a multi-step recording (for live preview)
HotkeySequence
readonly stopRecording: () => void;Defined in: injectHotkeyRecorder.ts:32
Stop recording without calling onCancel
void