Path Progress

三种进度展示方式。

使用

  1. <m-path-progress
  2. type="Line"
  3. progress="0.5"
  4. text='test'
  5. options="{
  6. strokeWidth: 2,
  7. color: '#0072d9',
  8. trailColor: '#ddd'
  9. }"
  10. initial-animate
  11. container-style="{
  12. width: '200px',
  13. height: '20px'
  14. }">
  15. </m-path-progress>

API

Props

  1. {
  2. type: string,
  3. options: object,
  4. progress: number,
  5. text: string,
  6. initialAnimate: boolean,
  7. containerStyle: object
  8. }