Vue Slide Bar
Very Simple Vue Slider Bar Component.
Install
Usage
Simple

With Label

Custom Style && Min-Max

Loading

Options
Props
Props |
Type |
Default |
Description |
min |
Number |
0 |
Minimum value |
max |
Number |
100 |
Maximum value |
process-style* |
Object |
null |
Process bar style. |
tooltip-style* |
Object[,Array(in range model), Function<Value, Index>] |
null |
Tooltip style. |
value |
Number,Array |
0 |
Initial value (v-model) |
data |
Array |
null |
Custom data. |
is-disabled |
Boolean |
false |
Flag for disable slider bar |
show-tooltip |
Boolean |
true |
Flag display tooltip |
icon-width |
Number |
20 |
Icon width |
line-height |
Number |
5 |
Line height |
speed |
Number |
0.5 |
Transition time |
Events
Name |
Type |
Description |
callbackRange |
Params: function(range) |
when values change return range data. |
Slot
Name |
Description |
tooltip |
Customize the tooltip slot. |
When using the template element as a slot, can add special properties slot-scope
to get the value.
Run example
GitHub