Skip to content
Hotkeys API Reference

HotkeyChordCallbackContext

Defined in: hotkey.types.ts:233

Context passed to a chord's callback.

Properties

hotkey

ts
hotkey: HotkeyChord;

Defined in: hotkey.types.ts:236

The registered chord


kind

ts
kind: "chord";

Defined in: hotkey.types.ts:234


parsedChord

ts
parsedChord: ParsedHotkeyChord;

Defined in: hotkey.types.ts:238

The chord with Mod resolved for the registration's platform