Skip to main content

SliderX Options

You can pass additional options which change the behaviour of the SliderX component.

Use EnumSliderXOptions to access these options.

<SliderXSelector
...
options={EnumSliderXOptions.DynamicColorSampleRight | EnumSliderXOptions.ClickableLabels}
...
></SliderXSelector>
EnumSliderXOptions.SelectorClassicDescription
DynamicColorSampleRightxxIn case of the thumb being exactly between two colors, sample the right side color of the thumb instead of the left side

Sampled Left (default)

Sampled Right

DisableCenteredOptionsxDisable the default centering of the options in SliderXSelector. This way the selectable options span from the very beginning of the slider to the very end

ClickableLabelsxMakes click on the labels change the slider position

click text for index 0click text for index 1click text for index 2click text for index 3click text for index 4