1234567891011121314151617181920212223242526272829303132333435363738 |
- {
- "qm-button/disabled": {
- "type": "boolean",
- "description": "disabled state of button, Default: `false`"
- },
- "qm-button/ghost": {
- "type": "boolean",
- "description": "make background transparent and invert text and border colors, added in 2.7, Default: false"
- },
- "qm-button/htmlType": {
- "type": "string",
- "description": "set the original html `type` of `button`, see: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type), Default: `button`"
- },
- "qm-button/icon": {
- "type": "v-slot",
- "description": "set the icon of button, see: Icon component, Default: -"
- },
- "qm-button/loading": {
- "type": "boolean | { delay: number }",
- "description": "set the loading status of button, Default: false"
- },
- "qm-button/shape": {
- "type": "string",
- "description": "can be set to `circle`, `round` or omitted, Default: -"
- },
- "qm-button/size": {
- "type": "string",
- "description": "can be set to `small` `large` or omitted, Default: `default`"
- },
- "qm-button/type": {
- "type": "string",
- "description": "can be set to `primary` `ghost` `dashed` `danger` `link` or omitted (meaning `default`), Default: `default`"
- },
- "qm-button/block": {
- "type": "boolean",
- "description": "option to fit button width to its parent width, Default: `false`"
- }
- }
|