Skip to content

InputModifiers

since v0.8.0

Interface representing keyboard and modifier keys state during an input event.

meta: boolean

Windows key OR Cmd key


primary: boolean

Ctrl key (Windows/Linux) OR Cmd key (Mac)


secondary: boolean

Alt key


shift: boolean

Shift key