quasar
Version:
Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
112 lines (93 loc) • 2.4 kB
JSON
{
"props": {
"value": {
"type": "Number",
"desc": "Model of the component (must be between min/max); Either use this property (along with a listener for 'input' event) OR use v-model directive",
"examples": [ "v-model=\"positionModel\"" ],
"category": "model"
},
"min": {
"type": "Number",
"desc": "Minimum value of the model",
"default": 0,
"examples": [ ":min=\"0\"" ],
"category": "model"
},
"max": {
"type": "Number",
"desc": "Maximum value of the model",
"default": 100,
"examples": [ ":max=\"100\"" ],
"category": "model"
},
"step": {
"type": "Number",
"desc": "Specify step amount between valid values (> 0.0); When step equals to 0 it defines infinite granularity",
"default": 1,
"examples": [ ":step=\"1\"" ],
"category": "model"
},
"color": {
"extends": "color"
},
"label": {
"type": "Boolean",
"desc": "Popup a label when user clicks/taps on the slider thumb and moves it",
"category": "content"
},
"label-color": {
"extends": "color"
},
"label-text-color": {
"extends": "color",
"addedIn": "v1.1.0"
},
"label-value": {
"type": [ "String", "Number" ],
"desc": "Override default label value",
"examples": [
":label-value=\"model + 'px'\""
],
"category": "content"
},
"label-always": {
"type": "Boolean",
"desc": "Always display the label",
"category": "behavior|content"
},
"markers": {
"type": "Boolean",
"desc": "Display markers on the track, one for each possible value for the model",
"category": "content"
},
"snap": {
"type": "Boolean",
"desc": "Snap on valid values, rather than sliding freely; Suggestion: use with 'step' prop",
"category": "behavior"
},
"dark": {
"extends": "dark"
},
"dense": {
"extends": "dense"
},
"disable": {
"extends": "disable"
},
"readonly": {
"extends": "readonly"
},
"tabindex": {
"extends": "tabindex"
}
},
"events": {
"input": {
"extends": "input"
},
"change": {
"extends": "input",
"desc": "Emitted on lazy model value change (after user slides then releases the thumb)"
}
}
}