Interface PointerModifiers

The pointer modifiers are used because pointer events and keyboard events both have modifiers but pointer events are not updated with a keyboard event is pressed.

interface PointerModifiers {
    altKey: boolean;
    ctrlKey: boolean;
    metaKey: boolean;
    shiftKey: boolean;
}

Properties

altKey: boolean
ctrlKey: boolean
metaKey: boolean
shiftKey: boolean