pseudo-dom
    Preparing search index...

    Type Alias MouseEventInit

    MouseEventInit: UIEventInit & {
        altKey?: boolean;
        button?: number;
        buttons?: number;
        clientX?: number;
        clientY?: number;
        ctrlKey?: boolean;
        metaKey?: boolean;
        relatedTarget?: PseudoEventTarget | null;
        screenX?: number;
        screenY?: number;
        shiftKey?: boolean;
    }

    The options for creating a mouse event, on top of the ones every UI event has.

    Type Declaration

    • OptionalaltKey?: boolean
    • Optionalbutton?: number

      The button which changed (0 is the main button) (default 0)

    • Optionalbuttons?: number

      The buttons which are down (default 0)

    • OptionalclientX?: number
    • OptionalclientY?: number
    • OptionalctrlKey?: boolean
    • OptionalmetaKey?: boolean
    • OptionalrelatedTarget?: PseudoEventTarget | null

      The other target involved (the one the mouse came from or went to) (default null)

    • OptionalscreenX?: number
    • OptionalscreenY?: number
    • OptionalshiftKey?: boolean