Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1012 Bytes

File metadata and controls

46 lines (28 loc) · 1012 Bytes
id CreateHotkeyHandlerOptions
title CreateHotkeyHandlerOptions

Interface: CreateHotkeyHandlerOptions

Defined in: match.ts:110

Options for creating a hotkey handler.

Properties

platform?

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

Defined in: match.ts:116

The target platform for resolving 'Mod'


preventDefault?

optional preventDefault: boolean;

Defined in: match.ts:112

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


stopPropagation?

optional stopPropagation: boolean;

Defined in: match.ts:114

Stop event propagation when the hotkey matches. Defaults to true