Appearance
ProgressBar-DEMO
vue
<fv-ProgressBar>
</fv-ProgressBar>
1
2
2
Default ProgressBar
vue
<fv-ProgressBar v-model="percent[0]">
</fv-ProgressBar>
1
2
2
Indeterminate ProgressBar
vue
<fv-ProgressBar loading="true">
</fv-ProgressBar>
1
2
2
ProgressBar Disabled
- Default
vue
<fv-ProgressBar v-model="percent[1]" disabled>
</fv-ProgressBar>
1
2
2
- Indeterminate
vue
<fv-ProgressBar loading="true" disabled>
</fv-ProgressBar>
1
2
2
ProgressBar Custom Style
- Custom Foreground
vue
<fv-ProgressBar v-model="percent[2]" foreground="rgba(0,204,153,1)">
</fv-ProgressBar>
1
2
2
- Custom Background
vue
<fv-ProgressBar v-model="percent[3]" background="rgba(0,204,153,0.6)">
</fv-ProgressBar>
1
2
2
Propoties
属性(attr) | 类型(type) | 必填(required) | 默认值(default) | 说明(statement) |
---|---|---|---|---|
value | Number | No | 0 | Progressbar value |
loading | Boolean | No | false | Is progressbar indeterminate |
foreground | [string(color)] | No | N/A | |
background | [string(color)] | No | N/A | |
disabled | Boolean | No | false |
Events
事件名(Name) | 参数类型(args) | 说明(statement) |
---|---|---|
progress-change | percent | |
progress-finished | percent |