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>

Properties


PropertyTypeRequiredDefaultDescription
modelValuenumberNo0progressRing value
sizestringNo'xs'The size of progress ring, only works on legacy versions
rnumberNo40Radius of the ProgressRing
loadingbooleanNofalseIs progressRing indeterminate
colorstringNo'rgba(0, 90, 158, 1)'The color of progress ring
backgroundstringNo'rgba(204, 204, 204, 1)'
borderWidthnumberNo8
legacybooleanNofalseUse the legacy version of ProgressRing
themestringNo'global'See the ProgressRing theme option.
disabledbooleanNofalseSee the ProgressRing disabled option.
langstringNo"global"See the ProgressRing lang option.

MIT Licensed