Photo Sphere Viewer
    Preparing search index...

    Type Alias SliderUpdateData

    Data transmitted to the Slider listener

    type SliderUpdateData = {
        click: boolean;
        cursor: { clientX: number; clientY: number };
        mousedown: boolean;
        mouseover: boolean;
        value: number;
    }
    Index

    Properties

    click: boolean

    the user clicked on the slider

    cursor: { clientX: number; clientY: number }

    the cursor position on the page

    mousedown: boolean

    the user moves the cursor above the slider while maintaining click

    mouseover: boolean

    the user moves the cursor above the slider, without click

    value: number

    slider progression for 0-1