Interface ModifierAwareEvent

Bare minimum common interface of the keyboard and the mouse event with respect to the key maskings.

interface ModifierAwareEvent {
    ctrlKey: boolean;
    metaKey: boolean;
    shiftKey: boolean;
}

Properties

ctrlKey: boolean

Determines if the modifier aware event has the ctrl key masking.

metaKey: boolean

Determines if the modifier aware event has the meta key masking.

shiftKey: boolean

Determines if the modifier aware event has the shift key masking.