Linear Progress

线性进度组件是符合材料设计进度和活动要求的规范对齐线性进度指示器组件。

使用

  1. <m-linear-progress value='0.3' buffer='0.5'></m-linear-progress>
  2. <m-linear-progress value='0.1'> </m-linear-progress>
  3. <m-linear-progress indeterminate > </m-linear-progress>
  4. <m-linear-progress reversed value="0.2"> </m-linear-progress>

Omi 中使用

JSX:

  1. <m-linear-progress value={0.1} buffer={0.5}> </m-linear-progress>
  2. <m-linear-progress value={0.2} > </m-linear-progress>
  3. <m-linear-progress indeterminate > </m-linear-progress>
  4. <m-linear-progress reversed value={0.3}> </m-linear-progress>

API

Props

NameTypeDefaultsDetails
buffernumber缓冲区进度值
valuenumber主进度值
indeterminateboolean未知进度动画
reversedboolean反方向进度