interface CurrentValue {
    font: Partial<Font>;
    offset: number;
    prefix: string;
    suffix: string;
    visible: boolean;
    xanchor: "left" | "center" | "right";
}

Properties

font: Partial<Font>

Sets the font of the current value label text.

offset: number

The amount of space, in pixels, between the current value label and the slider.

prefix: string

When currentvalue.visible is true, this sets the prefix of the label.

suffix: string

When currentvalue.visible is true, this sets the suffix of the label.

visible: boolean

Shows the currently-selected value above the slider.

xanchor: "left" | "center" | "right"

The alignment of the value readout relative to the length of the slider.