Photo Sphere Viewer
    Preparing search index...

    Type Alias VirtualTourTransitionOptions

    Behaviour of the transition between nodes

    type VirtualTourTransitionOptions = {
        effect?: "none" | TransitionOptions["effect"];
        rotateTo?: Position;
        rotation?: boolean;
        showLoader?: boolean;
        speed?: string | number;
        zoomTo?: number;
    }
    Index

    Properties

    effect?: "none" | TransitionOptions["effect"]

    Enable transition between nodes

    'fade'
    
    rotateTo?: Position

    Define where to rotate the current panorama before switching to the next if not defined it will use the link's position

    rotation?: boolean

    Enable rotation in the direction of the next node

    true
    
    showLoader?: boolean

    Show the loader while loading the new panorama

    true
    
    speed?: string | number

    Speed or duration of the transition between nodes

    '20rpm'
    
    zoomTo?: number

    Define the new zoom level if not defined it will keep the current zoom level