CreateHotkeyHandlerOptions

Interface: CreateHotkeyHandlerOptions

Defined in: match.ts:95

Options for creating a hotkey handler.

Properties

platform?

ts
optional platform: "mac" | "windows" | "linux";

Defined in: match.ts:101

The target platform for resolving 'Mod'


preventDefault?

ts
optional preventDefault: boolean;

Defined in: match.ts:97

Prevent the default browser action when the hotkey matches. Defaults to true


stopPropagation?

ts
optional stopPropagation: boolean;

Defined in: match.ts:99

Stop event propagation when the hotkey matches. Defaults to true