Skip to content

ProgressRing-DEMO


vue
<fv-progressRing loading="true">
</fv-progressRing>
vue
<fv-progressRing loading="true" r="20" borderWidth="5">
</fv-progressRing>
vue
<fv-progressRing loading="true" r="10" borderWidth="2">
</fv-progressRing>

Default ProgressRing


vue
<fv-progressRing v-model="percent[0]">
</fv-progressRing>
vue
<fv-progressRing v-model="percent[0]" r="20" borderWidth="5">
</fv-progressRing>
vue
<fv-progressRing v-model="percent[0]" r="10" borderWidth="2">
</fv-progressRing>

Indeterminate ProgressRing


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

ProgressRing Legacy


vue
<fv-progressRing :legacy="true">
</fv-progressRing>

Different Size(Legacy)


vue

<ClientOnly>
<fv-progressRing size="xs" :legacy="true">
</fv-progressRing>
</ClientOnly>

<fv-progressRing size="s" :legacy="true">
</fv-progressRing>


<ClientOnly>
<fv-progressRing size="m" :legacy="true">
</fv-progressRing>
</ClientOnly>

<fv-progressRing size="l" :legacy="true">
</fv-progressRing>

ProgressBar Custom Style


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

Propoties


属性(attr)类型(type)必填(required)默认值(default)说明(statement)
valueNumberNo0progressRing value
size['l','m','s','xs']NoxsThe size of progress ring, only works on legacy versions
rNumberNo40Radius of the ProgressRing
loadingBooleanNofalseIs progressRing indeterminate
color[string(color)]Norgba(0, 90, 158, 1)The color of progress ring
background[string(color)]Norgba(204, 204, 204, 1)
borderWidthNumberNo8
legacyBooleanNofalseUse the legacy version of ProgressRing

MIT Licensed