DemoSliderColors.vue
764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<script setup>
const sliderColorValue = ref(25)
const sliderTrackColorValue = ref(75)
const sliderThumbColorValue = ref(50)
</script>
<template>
<VRow>
<VCol cols="12">
<div class="text-caption">
color
</div>
<VSlider
v-model="sliderColorValue"
color="error"
/>
</VCol>
<VCol cols="12">
<div class="text-caption">
track-color
</div>
<VSlider
v-model="sliderTrackColorValue"
track-color="error"
/>
</VCol>
<VCol cols="12">
<div class="text-caption">
thumb-color
</div>
<VSlider
v-model="sliderThumbColorValue"
thumb-color="error"
thumb-label="always"
/>
</VCol>
</VRow>
</template>