ModifierKeys: {
    alt?: boolean;
    control?: boolean;
    meta?: boolean;
    shift?: boolean;
}

Specifies a set of modifier keys that can occur during browser events.

The table below shows how modifier keys are named on different operating systems.

|          | Mac OS    |  Windows    |
| :----    | :-------- | :---------- |
| alt      | option    | alt         |
| meta     | command   | windows     |

Type declaration

  • Optional alt?: boolean
  • Optional control?: boolean
  • Optional meta?: boolean
  • Optional shift?: boolean

Generated using TypeDoc