pixi-viewport
    Preparing search index...

    Interface ISnapOptions

    interface ISnapOptions {
        ease?: any;
        forceStart?: boolean;
        friction?: number;
        interrupt?: boolean;
        removeOnComplete?: boolean;
        removeOnInterrupt?: boolean;
        time?: number;
        topLeft?: boolean;
    }
    Index
    ease?: any

    Easing function or name (see http://easings.net/ for supported names)

    forceStart?: boolean

    Starts the snap immediately regardless of whether the viewport is at the desired location

    false
    
    friction?: number

    Friction/frame to apply if decelerate is active

    0.8
    
    interrupt?: boolean

    Pause snapping with any user input on the viewport

    true
    
    removeOnComplete?: boolean

    Removes this plugin after snapping is complete

    false
    
    removeOnInterrupt?: boolean

    Removes this plugin if interrupted by any user input

    false
    
    time?: number
    1000
    
    topLeft?: boolean

    snap to the top-left of viewport instead of center