forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQRange.json
More file actions
102 lines (89 loc) · 2.7 KB
/
QRange.json
File metadata and controls
102 lines (89 loc) · 2.7 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"mixins": [ "components/slider/use-slider" ],
"meta": {
"docsUrl": "https://v2.quasar.dev/vue-components/range"
},
"props": {
"model-value": {
"extends": "model-value",
"type": [ "Object", "null", "undefined" ],
"desc": "Model of the component of type { min, max } (both values must be between global min/max); Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
"definition": {
"min": {
"type": [ "Number", "null" ],
"desc": "Model value for left thumb",
"examples": [ 2 ]
},
"max": {
"type": [ "Number", "null" ],
"desc": "Model value for right thumb",
"examples": [ 12 ]
}
},
"examples": [ "v-model=\"positionModel\"" ]
},
"drag-range": {
"type": "Boolean",
"desc": "User can drag range instead of just the two thumbs",
"category": "content"
},
"drag-only-range": {
"type": "Boolean",
"desc": "User can drag only the range instead and NOT the two thumbs",
"category": "content"
},
"left-label-color": {
"extends": "color",
"desc": "Color name for left label background from the Quasar Color Palette",
"category": "labels"
},
"left-label-text-color": {
"extends": "color",
"desc": "Color name for left label text from the Quasar Color Palette",
"category": "labels"
},
"right-label-color": {
"extends": "color",
"desc": "Color name for right label background from the Quasar Color Palette",
"category": "labels"
},
"right-label-text-color": {
"extends": "color",
"desc": "Color name for right label text from the Quasar Color Palette",
"category": "labels"
},
"left-label-value": {
"type": [ "String", "Number" ],
"desc": "Override default label for min value",
"examples": [
":left-label-value=\"model.min + 'px'\""
],
"category": "labels"
},
"right-label-value": {
"type": [ "String", "Number" ],
"desc": "Override default label for max value",
"examples": [
":right-label-value=\"model.max + 'px'\""
],
"category": "labels"
},
"left-thumb-color": {
"extends": "color",
"desc": "Color name (from the Quasar Color Palette) for left thumb",
"category": "labels",
"addedIn": "v2.4"
},
"right-thumb-color": {
"extends": "color",
"desc": "Color name (from the Quasar Color Palette) for right thumb",
"category": "labels",
"addedIn": "v2.4"
}
},
"events": {
"update:model-value": {
"extends": "update:model-value"
}
}
}