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

Data transmitted to the Slider listener

Type declaration

  • Readonlyclick: boolean

    the user clicked on the slider

  • Readonlycursor: {
        clientX: number;
        clientY: number;
    }

    the cursor position on the page

    • clientX: number
    • clientY: number
  • Readonlymousedown: boolean

    the user moves the cursor above the slider while maintaining click

  • Readonlymouseover: boolean

    the user moves the cursor above the slider, without click

  • Readonlyvalue: number

    slider progression for 0-1