Member Junction
    Preparing search index...

    A human mouse-wheel / trackpad scroll into the browser viewport (Magic Mouse scroll, trackpad two-finger scroll, wheel). X / Y are the viewport pixel position the scroll occurred over (so a scroll targets the element under the pointer); DeltaX / DeltaY are the scroll deltas in pixels (positive DeltaY = down, positive DeltaX = right — matching the DOM WheelEvent convention).

    interface RemoteBrowserScrollInput {
        DeltaX: number;
        DeltaY: number;
        Kind: "scroll";
        X: number;
        Y: number;
    }
    Index

    Properties

    Properties

    DeltaX: number

    Horizontal scroll delta in pixels (positive = right).

    DeltaY: number

    Vertical scroll delta in pixels (positive = down).

    Kind: "scroll"
    X: number

    Viewport X coordinate the scroll occurred over.

    Y: number

    Viewport Y coordinate the scroll occurred over.