CreateHotkeyHandlerOptions

Interface: CreateHotkeyHandlerOptions

Defined in: match.ts:101

Options for creating a hotkey handler.

Properties

platform?

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

Defined in: match.ts:107

The target platform for resolving 'Mod'


preventDefault?

ts
optional preventDefault: boolean;

Defined in: match.ts:103

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


stopPropagation?

ts
optional stopPropagation: boolean;

Defined in: match.ts:105

Stop event propagation when the hotkey matches. Defaults to true