Member Junction
    Preparing search index...
    Index

    Constructors

    Properties

    Constructors

    Properties

    DeltaX: number = 0

    Horizontal scroll delta (positive = right, negative = left)

    DeltaY: number = 0

    Vertical scroll delta (positive = down, negative = up)

    Selector?: string

    Optional CSS selector to scroll into view. When set, the adapter scrolls that element into view and DeltaX/DeltaY are ignored; when omitted, the existing delta scroll is used.

    Type: "Scroll" = ...
    X?: number

    Optional point (in the 1000x1000 action space) to scroll AT. A wheel event is dispatched wherever the mouse currently is, so without this a delta scroll always hits the main document — an open dropdown, dialog, or any inner overflow-y: auto pane can never be scrolled. When set, the adapter moves the pointer over the point first so the wheel targets the scrollable container under it. Ignored when Selector is set.

    Y?: number

    Companion to X; both must be supplied for point-scrolling to apply.