TanStack
Hotkeys API Reference

HotkeyCallbackContext

Defined in: hotkey.types.ts:229

Context passed to hotkey callbacks along with the keyboard event.

Properties

hotkey

ts
hotkey: Hotkey;

Defined in: hotkey.types.ts:231

The registered hotkey: a chord string or a sequence


parsedHotkey

ts
parsedHotkey: ParsedHotkey;

Defined in: hotkey.types.ts:233

The parsed chord that completed the match (the last step of a sequence)