quasar
Version:
Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
73 lines (62 loc) • 1.89 kB
JSON
{
"mixins": [ "mixins/size" ],
"behavior": {
"$listeners": true
},
"props": {
"value": {
"extends": "value",
"type": "Number",
"examples": [ ":value=\"2\"" ]
},
"max": {
"type": [ "Number", "String" ],
"desc": "Number of icons to display",
"default": 5,
"examples": [ "3", ":max=\"5\"" ],
"category": "general"
},
"icon": {
"type": [ "String", "Array" ],
"desc": "Icon name following Quasar convention; make sure you have the icon library installed unless you are using 'img:' prefix; If an array is provided each rating value will use the corresponding icon in the array (0 based)",
"examples": [
"map",
"ion-add",
"img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
"img:statics/path/to/some_image.png"
],
"category": "content"
},
"icon-selected": {
"type": [ "String", "Array" ],
"desc": "Icon name following Quasar convention to be used when selected (optional); make sure you have the icon library installed unless you are using 'img:' prefix; If an array is provided each rating value will use the corresponding icon in the array (0 based)",
"examples": [
"map",
"ion-add",
"img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
"img:statics/path/to/some_image.png"
],
"category": "content",
"addedIn": "v1.1.0"
},
"color": {
"extends": "color"
},
"no-reset": {
"type": "Boolean",
"desc": "When used, disables default behavior of clicking/tapping on icon which represents current model value to reset model to 0",
"category": "model"
},
"readonly": {
"extends": "readonly"
},
"disable": {
"extends": "disable"
}
},
"events": {
"input": {
"extends": "input"
}
}
}