-
Notifications
You must be signed in to change notification settings - Fork 1k
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
refactor Progress component #501
Labels
refactor
Refactor old code
Comments
Closed
cuixiaorui
added a commit
that referenced
this issue
Jan 2, 2021
refactor(Progress): #501 Done refactor Progress component
wind13
added a commit
that referenced
this issue
Jan 27, 2021
wind13
added a commit
that referenced
this issue
Jan 27, 2021
wind13
added a commit
that referenced
this issue
Jan 28, 2021
wind13
added a commit
that referenced
this issue
Jan 28, 2021
wind13
added a commit
that referenced
this issue
Jan 28, 2021
wind13
added a commit
that referenced
this issue
Jan 28, 2021
cuixiaorui
added a commit
that referenced
this issue
Jan 28, 2021
refactor(Progress): #501 Change file from js to ts
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tasking
<el-progress :percentage="50"></el-progress>
定义一个默认的 Progress 组件props.percentage
控制 Progress 组件的百分比props.format
自定义 Progress 组件进度条中文字的格式化方法props.color
自定义 Progress 组件的颜色props.status
控制 Progress 组件的状态和颜色props.showText
自定义 Progress 组件是否显示文字props.strokeWidth
自定义 Progress 组件进度条的高度进度条高度变化后,显示文字大小随着相应变化。(经测试效果不如不变,故不实现了。)==> 字体大小不随进度条宽度变化:
==> 字体大小随着进度条宽度变化:
props.textInside
自定义 Progress 组件的文字是否显示在进度条内props.type
控制 Progress 组件的显示类型props.width
自定义环形进度条的宽度props.strokeLinecap
自定义 Progress 组件进度条的形状The text was updated successfully, but these errors were encountered: