progress

进度条。

属性

支持通用属性

属性名 类型 默认值 说明 平台支持
percent Float 百分比0~100 all
show-info Boolean false 在进度条右侧显示百分比 u?,w,a
stroke-width Number 6 进度条线的宽度,单位px all
activeColor Color 已选择的进度条的颜色 all
backgroundColor Color 未选择的进度条的颜色 u?,w,a
active Boolean false 进度条从左往右的动画 u?,w,a

事件

支持通用事件

示例

<progress percent="20" show-info />
<progress percent="40" stroke-width="12" />
<progress percent="60" color="pink" />
<progress percent="80" active />

results matching ""

    No results matching ""