Skip to main content

CreateHotkeyHandlerOptions

还没翻译译自英文(tanstack.com)本页 13 段都还没译

Defined in: match.ts:60

Options for creating a hotkey handler.

Properties

platform?

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

Defined in: match.ts:66

The target platform for resolving 'Mod'


preventDefault?

optional preventDefault?: boolean;

Defined in: match.ts:62

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


stopPropagation?

optional stopPropagation?: boolean;

Defined in: match.ts:64

Stop event propagation when the hotkey matches. Defaults to true