Hello,here we will show you how to use "o-progress"!
We can change the percentage by changing the "percent",the default percent is "0".
We can change the width by changing the "width",the default width is "300".
We can set up a timer and use element.setPercent(percent)
method to achieve dynamic effects.
We can change the height by changing the "stroke-width",the default width is "8".
As you can see, instead of providing a fixed size, we choose to provide a custom width and height,
and leave the decision to the user to achieve the desired effect.
We can change the progress color by changing the "stroke-color".
We can change the progress trail color by changing the "trail-color".
We can change the progress text color by changing the "text-color".
when it compeleted,it'll become success icon and success stroke-color,if you don't want it,set the status or the
stroke-color to controll it
We provide two status to achieve the default effect of success / error, and icons can be introduced using icons
in "@omiu-icon" .
We use showInfo
attr to show icon/text or not.
If you want a "circle style" progress,just let the type is "circle".
You can cantorl your circle progress like "the line progress"!!!