mirror of
https://github.com/youzan/vant.git
synced 2026-03-04 04:09:23 +08:00
docs: type highlight (#4264)
This commit is contained in:
@@ -43,11 +43,11 @@ Vue.use(Loading);
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| color | Loading color | `string` | `#c9c9c9` | - |
|
||||
| type | Can be set to `spinner` | `string` | `circular` | - |
|
||||
| size | Icon size | `string | number` | `30px` | - |
|
||||
| text-size | Text font size | `string | number` | `14px` | - |
|
||||
| vertical | Whether to arrange icons and text content vertically | `boolean` | `false` | - |
|
||||
| color | Loading color | *string* | `#c9c9c9` | - |
|
||||
| type | Can be set to `spinner` | *string* | `circular` | - |
|
||||
| size | Icon size | *string \| number* | `30px` | - |
|
||||
| text-size | Text font size | *string \| number* | `14px` | - |
|
||||
| vertical | Whether to arrange icons and text content vertically | *boolean* | `false` | - |
|
||||
|
||||
### Slots
|
||||
|
||||
|
||||
@@ -43,11 +43,11 @@ Vue.use(Loading);
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| color | 颜色 | `string` | `#c9c9c9` | - |
|
||||
| type | 类型,可选值为 `spinner` | `string` | `circular` | - |
|
||||
| size | 加载图标大小,默认单位为`px` | `string | number` | `30px` | - |
|
||||
| text-size | 文字大小,默认单位为`px` | `string | number` | `14px` | - |
|
||||
| vertical | 是否垂直排列图标和文字内容 | `boolean` | `false` | - |
|
||||
| color | 颜色 | *string* | `#c9c9c9` | - |
|
||||
| type | 类型,可选值为 `spinner` | *string* | `circular` | - |
|
||||
| size | 加载图标大小,默认单位为`px` | *string \| number* | `30px` | - |
|
||||
| text-size | 文字大小,默认单位为`px` | *string \| number* | `14px` | - |
|
||||
| vertical | 是否垂直排列图标和文字内容 | *boolean* | `false` | - |
|
||||
|
||||
### Slots
|
||||
|
||||
|
||||
Reference in New Issue
Block a user