forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSliderColoring.vue
More file actions
64 lines (59 loc) · 1.13 KB
/
SliderColoring.vue
File metadata and controls
64 lines (59 loc) · 1.13 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<template>
<div class="q-pa-lg">
<q-slider
v-model="firstModel"
color="orange"
thumb-color="purple"
label-color="black"
label-text-color="yellow"
markers
marker-labels
marker-labels-class="text-orange"
switch-marker-labels-side
label-always
switch-label-side
:min="0"
:max="6"
/>
<q-slider
class="q-mt-xl"
v-model="secondModel"
color="green"
track-color="orange"
inner-track-color="transparent"
selection-color="red"
:max="10"
markers
/>
<q-slider
v-model="secondModel"
color="purple"
inner-track-color="light-blue-3"
:max="10"
:inner-min="2"
:inner-max="8"
markers
/>
<q-slider
v-model="secondModel"
color="teal"
track-color="light-blue-2"
inner-track-color="light-blue-5"
:max="10"
:inner-min="2"
:inner-max="8"
markers
/>
</div>
</template>
<script>
import { ref } from 'vue'
export default {
setup () {
return {
firstModel: ref(2),
secondModel: ref(4)
}
}
}
</script>