Skip to main content

UseHotkeySequenceDefinition

Defined in: useHotkeySequences.ts:15

A single sequence definition for use with useHotkeySequences.

Properties

callback

callback: HotkeyCallback;

Defined in: useHotkeySequences.ts:19

The function to call when the sequence is completed


options?

optional options?: UseHotkeySequenceOptions;

Defined in: useHotkeySequences.ts:21

Per-sequence options (merged on top of commonOptions)


sequence

sequence: HotkeySequence;

Defined in: useHotkeySequences.ts:17

Array of hotkey strings that form the sequence