pixi-viewport
    Preparing search index...

    Class SnapZoom

    snap-zoom-start(Viewport) emitted each time a fit animation starts snap-zoom-end(Viewport) emitted each time fit reaches its target snap-zoom-end(Viewport) emitted each time fit reaches its target

    Hierarchy (View Summary)

    Index
    ease: any
    parent: Viewport

    The viewport to which this plugin is attached.

    paused: boolean

    Flags whether this plugin has been "paused".

    • Plugin#pause
    • Plugin#resume
    snapping?:
        | {
            deltaX: number;
            deltaY: number;
            startX: number;
            startY: number;
            time: number;
        }
        | null
    xIndependent: boolean
    xScale: number
    yIndependent: boolean
    yScale: number