TanStack

RawModifiers

Defined in: hotkey.types.ts:185

Modifier flags shared by logical-key and physical-code registrations.

Properties

alt?

ts
optional alt: boolean;

Defined in: hotkey.types.ts:194

Whether the Alt key is required. Defaults to false.


ctrl?

ts
optional ctrl: boolean;

Defined in: hotkey.types.ts:190

Whether the Control key is required. Defaults to false.


meta?

ts
optional meta: boolean;

Defined in: hotkey.types.ts:196

Whether the Meta (Command) key is required. Defaults to false.


mod?

ts
optional mod: boolean;

Defined in: hotkey.types.ts:188

Platform-adaptive modifier: Command on macOS, Control on Windows/Linux. Defaults to false.


shift?

ts
optional shift: boolean;

Defined in: hotkey.types.ts:192

Whether the Shift key is required. Defaults to false.