We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<jigsaw-progress-bar [progress]="progress" max="100" min="0" labelFormatter="$p %" labelPlacement="center" showScale="true" (complete)="onComplete()"> </jigsaw-progress-bar>
progress: number
min
max
min: number
max: number
labelFormatter: string
"$p %"
$p
labelPlacement: "left"|"right"|"top"|"bottom"|"center"
"center"
showScale: boolean
complete: EventEmitter<void>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
用法
输入
progress: number
当前的进度值,需要根据min
/max
换算成比例,取小数点后1位。换算出来的比例取值范围恒为 [0 ~ 100]min: number
最进度小值,默认是0max: number
最大进度值,默认是100labelFormatter: string
文本格式,默认值是"$p %"
,其中$p
是一个占位符,表示当前的进度值,清空则表示不显示文本labelPlacement: "left"|"right"|"top"|"bottom"|"center"
,默认值是"center"
showScale: boolean
是否显示下方的标尺输出
complete: EventEmitter<void>
当当前的进度值大于等于100%的时候,发送此事件。参考样式
The text was updated successfully, but these errors were encountered: