TanStack
Hotkey Recorder API Reference

HotkeyRecorderState

Defined in: hotkey-recorder.ts:23

State interface for the HotkeyRecorder.

Properties

isRecording

ts
isRecording: boolean;

Defined in: hotkey-recorder.ts:25

Whether recording is currently active


recordedHotkey

ts
recordedHotkey: Hotkey | null;

Defined in: hotkey-recorder.ts:27

The currently recorded hotkey (for live preview)