Back to Taro

taro-progress-core

packages/taro-components/src/components/progress/readme.md

4.2.02.3 KB
Original Source

taro-progress-core

API

属性类型默认值说明
percentFloat百分比 0~100
show-infoBooleanfalse在进度条右侧显示百分比
stroke-widthNumber6进度条线的宽度,单位 px
colorColor#09BB07进度条颜色 (请使用 activeColor)
activeColorColor6已选择的进度条的颜色
backgroundColorColor6未选择的进度条的颜色
activeBooleanfalse进度条从左往右的动画
active-modeStringbackwardsbackwards: 动画从头播;forwards:动画从上次结束点接着播
borderRadiusNumber0圆角大小, 单位 px
<!-- Auto Generated Below -->

Properties

PropertyAttributeDescriptionTypeDefault
activeactivebooleanfalse
activeColoractive-colorstring'#09BB07'
backgroundColorbackground-colorstring'#EBEBEB'
borderRadiusborder-radiusnumber | string0
fontSizefont-sizenumber | string16
percentpercentnumber0
showInfoshow-infobooleanfalse
strokeWidthstroke-widthnumber | string6

Built with StencilJS