@nosto/preact

    Interface AbstractSliderProps

    interface AbstractSliderProps {
        activeHandle?: null | number;
        bounds?: number[];
        children?: ComponentChildren;
        classesPrefix?: string;
        className?: string;
        disabled?: boolean;
        dots?: boolean;
        handles?: Element[];
        handlesRefs?: Element[];
        included?: boolean;
        lowerBound?: number;
        marks?: SliderMarks;
        max?: number;
        min?: number;
        onEnd?: () => void;
        onMove?: (position: number) => void;
        onStart?: (position: number) => void;
        sliderRefCallback?: RefCallback<HTMLDivElement>;
        step?: number;
        tracks?: Element[];
        upperBound?: number;
        vertical?: boolean;
        onAfterChange(value: SliderValue): void;
        onBeforeChange(value: SliderValue): void;
        onChange(value: SliderValue): void;
        tipFormatter(value: number): ComponentChildren;
    }

    Hierarchy (View Summary)

    Index

    Properties

    activeHandle?: null | number
    bounds?: number[]
    children?: ComponentChildren
    classesPrefix?: string

    Prefix for secondary class names in component

    className?: string

    Component main class name

    disabled?: boolean

    Control disabled?

    dots?: boolean

    Show dots on slider (with step as interval)?

    handles?: Element[]
    handlesRefs?: Element[]
    included?: boolean

    As continuous value interval (otherwise, as independent values)?

    lowerBound?: number
    marks?: SliderMarks

    Marks on the slider

    max?: number

    Maximum value

    min?: number

    Minimum value

    onEnd?: () => void
    onMove?: (position: number) => void
    onStart?: (position: number) => void
    sliderRefCallback?: RefCallback<HTMLDivElement>
    step?: number

    Value to be added or subtracted on each step the slider makes

    tracks?: Element[]
    upperBound?: number
    vertical?: boolean

    Vertical mode?

    Methods

    MMNEPVFCICPMFPCPTTAAATR