TanStack
Hotkey Sequence API Reference

InjectHotkeySequenceDefinition

Defined in: injectHotkeySequences.ts:14

A single sequence definition for use with injectHotkeySequences.

Properties

callback

ts
callback: HotkeyCallback;

Defined in: injectHotkeySequences.ts:18

The function to call when the sequence is completed


options?

ts
optional options?: 
  | InjectHotkeySequenceOptions
  | (() => InjectHotkeySequenceOptions);

Defined in: injectHotkeySequences.ts:20

Per-sequence options (merged on top of commonOptions)


sequence

ts
sequence: HotkeySequence | (() => HotkeySequence);

Defined in: injectHotkeySequences.ts:16

Array of hotkey strings that form the sequence