pixi-viewport
    Preparing search index...

    Interface IEdgeScrollOptions

    Options for EdgeScroll.

    interface IEdgeScrollOptions {
        allowButtons?: boolean;
        bottom?: number | null;
        distance?: number | null;
        left?: number | null;
        linear?: boolean;
        noDecelerate?: boolean;
        radius?: number | null;
        reverse?: boolean;
        right?: number | null;
        speed?: number;
        top?: number | null;
    }

    Hierarchy (View Summary)

    Index
    allowButtons?: boolean

    Keep scrolling while a mouse button is pressed

    bottom?: number | null

    Alternatively, set bottom distance (leave unset for no top scroll)

    distance?: number | null

    Distance from all sides in screen pixels

    left?: number | null

    Alternatively, set left distance (leave unset for no top scroll)

    linear?: boolean

    If using radius, scroll along the eight compass directions (+/- 1, +/- 1) instead of directly toward the pointer.

    noDecelerate?: boolean

    Don't hand off to the decelerate plugin (if installed) when scrolling stops

    radius?: number | null

    Distance from center of screen in screen pixels

    reverse?: boolean

    Reverse direction of scroll

    right?: number | null

    Alternatively, set right distance (leave unset for no top scroll)

    speed?: number

    Scroll speed in screen pixels per second. The speed on screen stays the same at any zoom level and frame rate.

    600
    
    top?: number | null

    Alternatively, set top distance (leave unset for no top scroll)