Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SimpleKeyModifiers

Represents a set of keyboard modifier key states. All values are tristate - e.g.:

modifiers.alt === true      // Means Alt is required
modifiers.alt === false     // Means Alt is forbidden
modifiers.alt === undefined // Means Alt is ignored and may be held or not

Hierarchy

Index

Properties

Properties

Optional alt

alt: boolean

The Alt key, or Option key on Mac style keyboards.

Optional ctrl

ctrl: boolean

The Control key.

Optional meta

meta: boolean

The Windows key, or Command key on Mac style keyboards.

Optional shift

shift: boolean

The Shift key.

Generated using TypeDoc