docs: type highlight (#4264)

This commit is contained in:
neverland
2019-08-27 22:09:21 +08:00
committed by GitHub
parent a79750d00c
commit ecbdc2bede
129 changed files with 1493 additions and 1484 deletions

View File

@@ -58,10 +58,10 @@ Use `pivot-text` to custom textuse `color` to custom bar color
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| inactive | Whether to be gray | `boolean` | `false` | - |
| percentage | Percentage | `number` | `0` | - |
| show-pivot | Whether to show text | `boolean` | `true` | - |
| color | Color | `string` | `#1989fa` | - |
| pivot-text | Text | `string` | percentage | - |
| pivot-color | Text background color | `string` | inherit progress color | - |
| text-color | Text color | `string` | `#fff` | - |
| inactive | Whether to be gray | *boolean* | `false` | - |
| percentage | Percentage | *number* | `0` | - |
| show-pivot | Whether to show text | *boolean* | `true` | - |
| color | Color | *string* | `#1989fa` | - |
| pivot-text | Text | *string* | percentage | - |
| pivot-color | Text background color | *string* | inherit progress color | - |
| text-color | Text color | *string* | `#fff` | - |

View File

@@ -56,10 +56,10 @@ Vue.use(Progress);
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| inactive | 是否置灰 | `boolean` | `false` | - |
| percentage | 进度百分比 | `number` | `0` | - |
| show-pivot | 是否显示进度文字 | `boolean` | `true` | - |
| color | 进度条颜色 | `string` | `#1989fa` | - |
| text-color | 进度条文字颜色 | `string` | `#fff` | - |
| pivot-text | 文字显示 | `string` | 百分比文字 | - |
| pivot-color | 文字背景色 | `string` | 与进度条颜色一致 | - |
| inactive | 是否置灰 | *boolean* | `false` | - |
| percentage | 进度百分比 | *number* | `0` | - |
| show-pivot | 是否显示进度文字 | *boolean* | `true` | - |
| color | 进度条颜色 | *string* | `#1989fa` | - |
| text-color | 进度条文字颜色 | *string* | `#fff` | - |
| pivot-text | 文字显示 | *string* | 百分比文字 | - |
| pivot-color | 文字背景色 | *string* | 与进度条颜色一致 | - |