Type alias SliderUpdateData

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

Data transmitted to the Slider listener

Type declaration

  • Readonly click: boolean

    the user clicked on the slider

  • Readonly cursor: {
        clientX: number;
        clientY: number;
    }

    the cursor position on the page

    • clientX: number
    • clientY: number
  • Readonly mousedown: boolean

    the user moves the cursor above the slider while maintaining click

  • Readonly mouseover: boolean

    the user moves the cursor above the slider, without click

  • Readonly value: number

    slider progression for 0-1

Generated using TypeDoc