Skip to content

ProgressBar-DEMO


vue
<fv-ProgressBar>
</fv-ProgressBar>

Default ProgressBar


vue
<fv-ProgressBar v-model="percent[0]">
</fv-ProgressBar>

Indeterminate ProgressBar


vue
<fv-ProgressBar loading="true">
</fv-ProgressBar>

ProgressBar Disabled


  1. Default
vue
<fv-ProgressBar v-model="percent[1]" disabled>
</fv-ProgressBar>
  1. Indeterminate
vue
<fv-ProgressBar loading="true" disabled>
</fv-ProgressBar>

ProgressBar Custom Style


  1. Custom Foreground
vue
<fv-ProgressBar v-model="percent[2]" foreground="rgba(0,204,153,1)">
</fv-ProgressBar>
  1. Custom Background
vue
<fv-ProgressBar v-model="percent[3]" background="rgba(0,204,153,0.6)">
</fv-ProgressBar>

Propoties


属性(attr)类型(type)必填(required)默认值(default)说明(statement)
valueNumberNo0Progressbar value
loadingBooleanNofalseIs progressbar indeterminate
foreground[string(color)]NoN/A
background[string(color)]NoN/A
disabledBooleanNofalse

Events


事件名(Name)参数类型(args)说明(statement)
progress-changepercent
progress-finishedpercent

MIT Licensed