Skip to main content

ReactHotkeySequenceRecorder

还没翻译译自英文(tanstack.com)本页 29 段都还没译

Defined in: useHotkeySequenceRecorder.ts:10

Properties

cancelRecording

cancelRecording: () => void;

Defined in: useHotkeySequenceRecorder.ts:19

Returns

void


commitRecording

commitRecording: () => void;

Defined in: useHotkeySequenceRecorder.ts:21

Commit current steps (no-op if empty)

Returns

void


isRecording

isRecording: boolean;

Defined in: useHotkeySequenceRecorder.ts:12

Whether recording is currently active


recordedSequence

recordedSequence: HotkeySequence | null;

Defined in: useHotkeySequenceRecorder.ts:16

Last committed sequence


startRecording

startRecording: () => void;

Defined in: useHotkeySequenceRecorder.ts:17

Returns

void


steps

steps: HotkeySequence;

Defined in: useHotkeySequenceRecorder.ts:14

Chords captured in the current session


stopRecording

stopRecording: () => void;

Defined in: useHotkeySequenceRecorder.ts:18

Returns

void