Open History to see the last commit
Defined in: hotkey.types.ts:163
Modifier flags shared by logical-key and physical-code registrations.
Properties#
alt?#
optional alt?: boolean;
Defined in: hotkey.types.ts:171
Whether the Alt key is required. Defaults to false.
ctrl?#
optional ctrl?: boolean;
Defined in: hotkey.types.ts:167
Whether the Control key is required. Defaults to false.
meta?#
optional meta?: boolean;
Defined in: hotkey.types.ts:173
Whether the Meta (Command) key is required. Defaults to false.
mod?#
optional mod?: boolean;
Defined in: hotkey.types.ts:165
Platform-adaptive modifier: Command on macOS, Control on Windows/Linux. Defaults to false.
shift?#
optional shift?: boolean;
Defined in: hotkey.types.ts:169
Whether the Shift key is required. Defaults to false.