This version of the component is deprecated and will be removed in the next major version. Use new version of InputRange instead! Component to input a range of values
Number formatting can be customized by using tuiNumberFormat
directive
Look into this example to understand difference between input-props [steps]
and [quantum]
.
Slider's step changes value by 1
.
But text inputs allow to type decimal number which is multiple of 0.00001
.
Number formatting can be customized by using TUI_NUMBER_FORMAT .
Visual segments + labels for ticks
#
Use mixin tui-slider-ticks-labels
to arrange ticks' labels (it places them strictly below ticks).
- Key steps
- anchor points of non-uniform format between value and position
Control value:
Using negative values without minus sign
#
Control value:
[
-30,
0
]