Defined in: recorder.ts:24
Options for configuring a HotkeyRecorder instance.
optional onCancel: () => void;
Defined in: recorder.ts:28
Optional callback when recording is cancelled (Escape pressed)
void
optional onClear: () => void;
Defined in: recorder.ts:30
Optional callback when shortcut is cleared (Backspace/Delete pressed)
void
onRecord: (hotkey) => void;
Defined in: recorder.ts:26
Callback when a hotkey is successfully recorded
void