Member Junction
    Preparing search index...

    Press (and HOLD) a mouse button at an absolute viewport coordinate WITHOUT releasing it.

    The "down" half of a manual drag: pairs with MouseUpAction (and any intervening MouseMoveActions) to compose a click-drag — e.g. click-drag text selection in an input — when the drag's endpoint isn't known up front (the streaming-human case). Use DragAction instead when start and end are both known atomically.

    Index

    Constructors

    Properties

    Constructors

    Properties

    Button: "left" | "right" | "middle" = 'left'

    Mouse button to press

    Type: "MouseDown" = ...
    X: number = 0

    X coordinate in viewport pixels to press at

    Y: number = 0

    Y coordinate in viewport pixels to press at