TanStack

RawModifiers

Defined in: hotkey.types.ts:163

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

Properties

alt?

ts
optional alt?: boolean;

Defined in: hotkey.types.ts:171

Whether the Alt key is required. Defaults to false.


ctrl?

ts
optional ctrl?: boolean;

Defined in: hotkey.types.ts:167

Whether the Control key is required. Defaults to false.


meta?

ts
optional meta?: boolean;

Defined in: hotkey.types.ts:173

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


mod?

ts
optional mod?: boolean;

Defined in: hotkey.types.ts:165

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


shift?

ts
optional shift?: boolean;

Defined in: hotkey.types.ts:169

Whether the Shift key is required. Defaults to false.