Defined in: sequence-manager.ts:27
Options for hotkey sequence matching. Extends HotkeyOptions but excludes requireReset (not applicable to sequences).
optional conflictBehavior: ConflictBehavior;optional conflictBehavior: ConflictBehavior;Defined in: hotkey-manager.ts:30
Behavior when this hotkey conflicts with an existing registration on the same target. Defaults to 'warn'
HotkeyOptions.conflictBehavior
optional enabled: boolean;optional enabled: boolean;Defined in: hotkey-manager.ts:36
Soft-disable: when false, the callback does not run but the registration stays in HotkeyManager (and in devtools). Toggling this should update the existing handle via setOptions rather than unregistering. Defaults to true.
optional eventType: "keydown" | "keyup";optional eventType: "keydown" | "keyup";Defined in: hotkey-manager.ts:38
The event type to listen for. Defaults to 'keydown'
optional ignoreInputs: boolean;optional ignoreInputs: boolean;Defined in: hotkey-manager.ts:40
Whether to ignore hotkeys when keyboard events originate from input-like elements (text inputs, textarea, select, contenteditable — button-type inputs like type=button/submit/reset are not ignored). Defaults based on hotkey: true for single keys and Shift/Alt combos; false for Ctrl/Meta shortcuts and Escape
optional meta: HotkeyMeta;optional meta: HotkeyMeta;Defined in: hotkey-manager.ts:52
Optional metadata (name, description, custom fields via declaration merging)
optional platform: "mac" | "windows" | "linux";optional platform: "mac" | "windows" | "linux";Defined in: hotkey-manager.ts:42
The target platform for resolving 'Mod'
optional preventDefault: boolean;optional preventDefault: boolean;Defined in: hotkey-manager.ts:44
Prevent the default browser action when the hotkey matches. Defaults to true
optional stopPropagation: boolean;optional stopPropagation: boolean;Defined in: hotkey-manager.ts:48
Stop event propagation when the hotkey matches. Defaults to true
optional target: HTMLElement | Document | Window | null;optional target: HTMLElement | Document | Window | null;Defined in: hotkey-manager.ts:50
The DOM element to attach the event listener to. Defaults to document.
optional timeout: number;optional timeout: number;Defined in: sequence-manager.ts:29
Timeout between keys in milliseconds. Default: 1000