Skip to content
Hotkeys API Reference

HotkeyCallbackContext

ts
type HotkeyCallbackContext = 
  | HotkeyChordCallbackContext
  | HotkeySequenceCallbackContext;

Defined in: hotkey.types.ts:254

Context passed to hotkey callbacks along with the keyboard event. Narrow with kind to read parsedChord or parsedSequence.