Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(progress): complete gradient color annotations #1185

Merged
merged 1 commit into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/varlet-ui/src/progress/Progress.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ export default defineComponent({
circleProps,
progressColor,
linearGradientProgress,
isPlainObject,
n,
classes,
toSizeUnit,
isPlainObject,
}
},
})
Expand Down
2 changes: 1 addition & 1 deletion packages/varlet-ui/src/progress/docs/en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Enable indeterminate animation through the `indeterminate` attribute when loadin
| `type` | Progress type, Can be set to `default` `primary` `info` `success` `warning` `danger` | _string_ | `primary` |
| `value` | Completion value | _string \| number_ | `0` |
| `line-width` | Width of the progress bar | _string \| number_ | `4` |
| `color` | Color of the progress bar (The circular progress bar sets the gradient color, please use object) | _string \| object_ | `-` |
| `color` | Color of the progress bar (The circular progress bar sets the gradient color, please use object. Gradient is the same as svg's linearGradient element) | _string \| object_ | `-` |
| `track-color` | Color of the progress track | _string_ | `#d8d8d8` |
| `label` | Whether the label is visible or not | _boolean_ | `false` |
| `label-class` | Custom label class name | _string_ | `-` |
Expand Down
2 changes: 1 addition & 1 deletion packages/varlet-ui/src/progress/docs/zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ onUnmounted(() => {
| `type` | 类型,可选值为 `default` `primary` `info` `success` `warning` `danger` | _string_ | `primary` |
| `value` | `progress` 的进度 | _string \| number_ | `0` |
| `line-width` | `progress` 的线宽 | _string \| number_ | `4` |
| `color` | `progress` 的颜色 (环形进度条设置渐变色请使用object) | _string \| object_ | `-` |
| `color` | `progress` 的颜色 (环形进度条设置渐变色请使用object, 渐变同svg的linearGradient元素) | _string \| object_ | `-` |
| `track-color` | `progress` 轨道的颜色 | _string_ | `#d8d8d8` |
| `label` | 是否显示 `label` | _boolean_ | `false` |
| `label-class` | 自定义 `label` 的类名 | _string_ | `-` |
Expand Down