docs: update version tag
This commit is contained in:
+21
-21
@@ -98,27 +98,27 @@ Vue.use(Button);
|
||||
|
||||
### Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| type | Can be set to `primary` `info` `warning` `danger` | *string* | `default` | - |
|
||||
| size | Can be set to `large` `small` `mini` | *string* | `normal` | - |
|
||||
| text | Text | *string* | - | - |
|
||||
| color | Color, support linear-gradient | *string* | - | 2.1.8 |
|
||||
| icon | Left Icon | *string* | - | - |
|
||||
| tag | HTML Tag | *string* | `button` | - |
|
||||
| native-type | Native Type Attribute | *string* | `''` | - |
|
||||
| plain | Whether to be plain button | *boolean* | `false` | - |
|
||||
| block | Whether to set display block | *boolean* | `false` | - |
|
||||
| round | Whether to be round button | *boolean* | `false` | - |
|
||||
| square | Whether to be square button | *boolean* | `false` | - |
|
||||
| disabled | Whether to disable button | *boolean* | `false` | - |
|
||||
| loading | Whether show loading status | *boolean* | `false` | - |
|
||||
| loading-text | Loading text | *string* | - | - |
|
||||
| loading-type | Loading type, can be set to `spinner` | *string* | `circular` | - |
|
||||
| loading-size | Loading icon size | *string* | `20px` | - |
|
||||
| url | Link URL | *string* | - | - |
|
||||
| to | Target route of the link, same as to of vue-router | *string \| object* | - | - |
|
||||
| replace | If true, the navigation will not leave a history record | *boolean* | `false` | - |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| type | Can be set to `primary` `info` `warning` `danger` | *string* | `default` |
|
||||
| size | Can be set to `large` `small` `mini` | *string* | `normal` |
|
||||
| text | Text | *string* | - |
|
||||
| color `v2.1.8` | Color, support linear-gradient | *string* | - |
|
||||
| icon | Left Icon | *string* | - |
|
||||
| tag | HTML Tag | *string* | `button` |
|
||||
| native-type | Native Type Attribute | *string* | `''` |
|
||||
| plain | Whether to be plain button | *boolean* | `false` |
|
||||
| block | Whether to set display block | *boolean* | `false` |
|
||||
| round | Whether to be round button | *boolean* | `false` |
|
||||
| square | Whether to be square button | *boolean* | `false` |
|
||||
| disabled | Whether to disable button | *boolean* | `false` |
|
||||
| loading | Whether show loading status | *boolean* | `false` |
|
||||
| loading-text | Loading text | *string* | - |
|
||||
| loading-type | Loading type, can be set to `spinner` | *string* | `circular` |
|
||||
| loading-size | Loading icon size | *string* | `20px` |
|
||||
| url | Link URL | *string* | - |
|
||||
| to | Target route of the link, same as to of vue-router | *string \| object* | - |
|
||||
| replace | If true, the navigation will not leave a history record | *boolean* | `false` |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user