Skip to main content

InjectHotkeySequenceDefinition

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

Defined in: injectHotkeySequences.ts:14

A single sequence definition for use with injectHotkeySequences.

Properties

callback

callback: HotkeyCallback;

Defined in: injectHotkeySequences.ts:18

The function to call when the sequence is completed


options?

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

Defined in: injectHotkeySequences.ts:20

Per-sequence options (merged on top of commonOptions)


sequence

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

Defined in: injectHotkeySequences.ts:16

Array of hotkey strings that form the sequence