# slider
Start from base library version 1.0.0. Please remaining backward compatible.
Slide the selectors.
attribute | type | Default value | Required | Introductions | Minimum version |
---|---|---|---|---|---|
min | number | 0 | no | least value | 1.0.0 |
Max | number | 100 | no | Maximum value | 1.0.0 |
step | number | 1 | no | Step size must be greater than 0 and can be(Max - Min) integer | 1.0.0 |
disabled | boolean | false | no | Is it disabled? | 1.0.0 |
value | number | 0 | no | Current value | 1.0.0 |
color | color | #e9e9e9 | no | Color of the background bar use the backgroundColor) | 1.0.0 |
selected-color | color | #1aad19 | no | Selected color (use the activeColor) | 1.0.0 |
activeColor | color | #1aad19 | no | Selected color | 1.0.0 |
backgroundColor | color | #e9e9e9 | no | Background Bar Color | 1.0.0 |
block-size | number | 28 | no | The size of the slider in the range 12 - 28 | 1.9.0 |
block-color | color | #ffffff | no | Slider color | 1.9.0 |
show-value | boolean | false | no | Displays current value | 1.0.0 |
bindchange | eventhandle | no | Event triggered after completing a drag, event.detail = {value} | 1.0.0 | |
bindchanging | eventhandle | no | Event triggered during drag, event. detail = {value} | 1.7.0 |