Fray Electron
    Preparing search index...

    Interface FrayScrubbingSliderProps

    Props for the slider variations that show a scrubbing value, which edits text such as "50%" within the rules' units and limits.

    interface FrayScrubbingSliderProps {
        adornment?: any;
        "aria-label"?: string;
        className?: string;
        disabled?: boolean;
        onValueChange: (value: string) => void;
        rules: ScrubbingRules;
        strip?: boolean;
        value: string;
        variant: "value" | "bar-value";
    }
    Index
    adornment?: any

    Content shown between the bar and the value in the "bar-value" variant; the bar shrinks to make room.

    "aria-label"?: string
    className?: string
    disabled?: boolean
    onValueChange: (value: string) => void

    Receives each accepted value as text.

    Accepted units, limits and step; the bar needs both min and max.

    strip?: boolean

    Whether the "bar-value" bar highlights the strip to the left of the dragger; defaults to true.

    value: string

    Current value as text, such as "0.4" or "50%".

    variant: "value" | "bar-value"

    "value" shows only the scrubbing value; "bar-value" shows the bar and dragger with the scrubbing value at the right.