Skip to content

CircularProgress 环形进度组件

环形进度组件,环形进度条、仪表盘模式。

基础用法

vue
<template>
  <parrot-circular-progress />
</template>

API

Props

属性类型默认值说明
percentnumber0百分比
sizestring'200rpx'尺寸
strokeWidthnumber8线宽(rpx)
colorstring'#1a7eff'进度颜色
showTextbooleantrue显示百分比

Slots

插槽说明
default默认内容

Released under the MIT License.