Hotkey Recorder API Reference

AngularHotkeyRecorder

Interface: AngularHotkeyRecorder

Defined in: injectHotkeyRecorder.ts:15

Properties

cancelRecording()

ts
readonly cancelRecording: () => void;

Defined in: injectHotkeyRecorder.ts:25

Cancel recording without saving

Returns

void


isRecording()

ts
readonly isRecording: () => boolean;

Defined in: injectHotkeyRecorder.ts:17

Whether recording is currently active

Returns

boolean


recordedHotkey()

ts
readonly recordedHotkey: () => Hotkey | null;

Defined in: injectHotkeyRecorder.ts:19

The currently recorded hotkey (for live preview)

Returns

Hotkey | null


startRecording()

ts
readonly startRecording: () => void;

Defined in: injectHotkeyRecorder.ts:21

Start recording a new hotkey

Returns

void


stopRecording()

ts
readonly stopRecording: () => void;

Defined in: injectHotkeyRecorder.ts:23

Stop recording (same as cancel)

Returns

void