TanStack
Hotkey Recorder API Reference

HotkeyRecorderValidationContext

Defined in: recorder-options.ts:27

Validation context for a recorded chord or sequence.

Properties

event

ts
event: KeyboardEvent;

Defined in: recorder-options.ts:29

The event that recorded the last chord.


events

ts
events: readonly KeyboardEvent[];

Defined in: recorder-options.ts:33

The event that recorded each step.


parsedHotkey

ts
parsedHotkey: ParsedHotkey;

Defined in: recorder-options.ts:31

The last chord, parsed.


parsedSequence

ts
parsedSequence: readonly ParsedHotkey[];

Defined in: recorder-options.ts:35

Every step, parsed.