HotkeyOptions.platform
property · packages/primitives/src/events/hotkeys.ts:143
readonly platform?: Platform | undefinedWhat mod is: Meta on mac and ios, Control elsewhere. Default unknown, so Control.
Primitives / foldkit-primitives/events
interface · packages/primitives/src/events/hotkeys.ts:141
interface HotkeyOptions {
readonly platform?: Platform | undefined
readonly allowInInput?: boolean | undefined
}HotkeyOptions.platformproperty · packages/primitives/src/events/hotkeys.ts:143
readonly platform?: Platform | undefinedWhat mod is: Meta on mac and ios, Control elsewhere. Default unknown, so Control.
HotkeyOptions.allowInInputproperty · packages/primitives/src/events/hotkeys.ts:145
readonly allowInInput?: boolean | undefinedMatch a press made in a text field too, which matchHotkey otherwise leaves to the typing.