Vertical Slider
A vertical Slider component with COUI style.
Parameters
The current value of the Slider. If outside of valueRange provided, value will be coerced to this range.
The callback to be called when the value changes.
The modifier to be applied to the Slider.
Whether the Slider is enabled.
Range of values that this slider can take. The passed value will be coerced to this range.
If positive, specifies the amount of discrete allowable values between the endpoints of valueRange.
Called when value change has ended.
Controls the direction of this slider. When false (default), slider increases from bottom to top. When true, slider increases from top to bottom.
The rest width of the vertical Slider track. While dragging, the inactive track enlarges to 1.4x of this width and is drawn beyond the layout bounds, following COUI behavior.
The SliderColors of the Slider.
Whether to show the effect of the Slider.
The haptic effect of the Slider.
Whether to show the key points (step indicators) on the slider. Only works when keyPoints is not null.
Custom key point values to display on the slider. If null, uses step positions from steps parameter. Values should be within valueRange.
The magnetic snap threshold as a fraction (0.0 to 1.0). When the slider value is within this distance from a key point, it will snap to that point. Default is 0.02 (2%). Only applies when keyPoints is set.