Skip to main content

parseRegisterableHotkey

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

function parseRegisterableHotkey(hotkey, platform?): ParsedHotkey;

Defined in: parse.ts:362

Parses a string or raw binding, resolving Mod for the supplied platform. Physical tokens such as [KeyQ] retain code; they never become logical Q.

Parameters

hotkey

RegisterableHotkey

platform?

"mac" | "windows" | "linux"

Returns

ParsedHotkey