[new feature] Slider: add active-color、inactive-color prop (#2374)

This commit is contained in:
neverland
2018-12-25 21:51:46 +08:00
committed by GitHub
parent 282d8ba27b
commit 9ec78652e1
5 changed files with 50 additions and 18 deletions
+5 -1
View File
@@ -35,12 +35,16 @@
<van-slider
v-model="value5"
bar-height="4px"
active-color="#f44"
@change="onChange"
/>
</demo-block>
<demo-block :title="$t('customButton')">
<van-slider v-model="value6">
<van-slider
v-model="value6"
active-color="#f44"
>
<div
slot="button"
class="custom-button"