common-intellisense
Version:
310 lines • 7.93 kB
JSON
{
"mixins": [
{
"props": {
"size": {
"type": "String",
"desc": "Size in CSS units, including unit name or standard size name (xs|sm|md|lg|xl)",
"examples": [
"'16px'",
"'2rem'",
"'xs'",
"'md'"
],
"category": "style"
},
"model-value": {
"extends": "model-value",
"type": [
"Any"
],
"examples": [
"# v-model=\"option\""
]
},
"val": {
"type": [
"Any"
],
"required": true,
"desc": "The actual value of the option with which model value is changed",
"examples": [
"'opt1'",
"50"
],
"category": "model"
},
"label": {
"type": "String",
"desc": "Label to display along the radio control (or use the default slot instead of this prop)",
"examples": [
"'Option 1'"
],
"category": "label"
},
"left-label": {
"type": "Boolean",
"desc": "Label (if any specified) should be displayed on the left side of the checkbox",
"category": "label"
},
"checked-icon": {
"type": "String",
"desc": "The icon to be used when selected (instead of the default design)",
"examples": [
"'visibility'"
],
"category": "icons",
"addedIn": "v2.5"
},
"unchecked-icon": {
"type": "String",
"desc": "The icon to be used when un-selected (instead of the default design)",
"examples": [
"'visibility_off'"
],
"category": "icons",
"addedIn": "v2.5"
},
"color": {
"extends": "color"
},
"keep-color": {
"type": "Boolean",
"desc": "Should the color (if specified any) be kept when checkbox is unticked?",
"category": "behavior"
},
"dark": {
"extends": "dark"
},
"dense": {
"extends": "dense"
},
"disable": {
"extends": "disable"
},
"tabindex": {
"extends": "tabindex"
}
}
},
{
"props": {
"name": {
"type": "String",
"desc": "Used to specify the name of the control; Useful if dealing with forms submitted directly to a URL",
"examples": [
"'car_id'"
],
"category": "behavior"
},
"size": {
"type": "String",
"desc": "Size in CSS units, including unit name or standard size name (xs|sm|md|lg|xl)",
"examples": [
"'16px'",
"'2rem'",
"'xs'",
"'md'"
],
"category": "style"
},
"model-value": {
"extends": "model-value",
"type": [
"Any"
],
"examples": [
"# v-model=\"option\""
]
},
"val": {
"type": [
"Any"
],
"required": true,
"desc": "The actual value of the option with which model value is changed",
"examples": [
"'opt1'",
"50"
],
"category": "model"
},
"label": {
"type": "String",
"desc": "Label to display along the radio control (or use the default slot instead of this prop)",
"examples": [
"'Option 1'"
],
"category": "label"
},
"left-label": {
"type": "Boolean",
"desc": "Label (if any specified) should be displayed on the left side of the checkbox",
"category": "label"
},
"checked-icon": {
"type": "String",
"desc": "The icon to be used when selected (instead of the default design)",
"examples": [
"'visibility'"
],
"category": "icons",
"addedIn": "v2.5"
},
"unchecked-icon": {
"type": "String",
"desc": "The icon to be used when un-selected (instead of the default design)",
"examples": [
"'visibility_off'"
],
"category": "icons",
"addedIn": "v2.5"
},
"color": {
"extends": "color"
},
"keep-color": {
"type": "Boolean",
"desc": "Should the color (if specified any) be kept when checkbox is unticked?",
"category": "behavior"
},
"dark": {
"extends": "dark"
},
"dense": {
"extends": "dense"
},
"disable": {
"extends": "disable"
},
"tabindex": {
"extends": "tabindex"
}
}
}
],
"meta": {
"docsUrl": "https://v2.quasar.dev/vue-components/radio"
},
"props": {
"name": {
"type": "String",
"desc": "Used to specify the name of the control; Useful if dealing with forms submitted directly to a URL",
"examples": [
"'car_id'"
],
"category": "behavior"
},
"size": {
"type": "String",
"desc": "Size in CSS units, including unit name or standard size name (xs|sm|md|lg|xl)",
"examples": [
"'16px'",
"'2rem'",
"'xs'",
"'md'"
],
"category": "style"
},
"model-value": {
"extends": "model-value",
"type": [
"Any"
],
"examples": [
"# v-model=\"option\""
]
},
"val": {
"type": [
"Any"
],
"required": true,
"desc": "The actual value of the option with which model value is changed",
"examples": [
"'opt1'",
"50"
],
"category": "model"
},
"label": {
"type": "String",
"desc": "Label to display along the radio control (or use the default slot instead of this prop)",
"examples": [
"'Option 1'"
],
"category": "label"
},
"left-label": {
"type": "Boolean",
"desc": "Label (if any specified) should be displayed on the left side of the checkbox",
"category": "label"
},
"checked-icon": {
"type": "String",
"desc": "The icon to be used when selected (instead of the default design)",
"examples": [
"'visibility'"
],
"category": "icons",
"addedIn": "v2.5"
},
"unchecked-icon": {
"type": "String",
"desc": "The icon to be used when un-selected (instead of the default design)",
"examples": [
"'visibility_off'"
],
"category": "icons",
"addedIn": "v2.5"
},
"color": {
"extends": "color"
},
"keep-color": {
"type": "Boolean",
"desc": "Should the color (if specified any) be kept when checkbox is unticked?",
"category": "behavior"
},
"dark": {
"extends": "dark"
},
"dense": {
"extends": "dense"
},
"disable": {
"extends": "disable"
},
"tabindex": {
"extends": "tabindex"
}
},
"slots": {
"default": {
"desc": "Default slot can be used as label, unless 'label' prop is specified; Suggestion: string"
}
},
"events": {
"update:model-value": {
"desc": "Emitted when the component needs to change the model; Is also used by v-model",
"params": {
"value": {
"type": "Any",
"desc": "New model value",
"required": true
},
"evt": {
"extends": "evt",
"required": true
}
}
}
},
"methods": {
"set": {
"desc": "Sets the Radio's v-model to equal the val",
"params": null,
"returns": null
}
}
}