mode

mode: number | SliderModeFunction

The interaction mode. Default is 1. Possible values: 1 - allows handles to cross each other. 2 - keeps the sliders from crossing and separated by a step. 3 - makes the handles pushable and keep them a step apart. function - SliderModeFunction that will be passed the current values and the incoming update. Your function should return what the mode should be set as.

Defined in

Last Updated: 29 November, 2022