OOUI/Widgets/Progress bars

bars visually display the status of an operation, such as a download. They can be used to show information about both determinate and indeterminate processes:
 * Determinate s show the percent of an operation that is complete.
 * Indeterminate s use a visual display of motion to indicate that an operation is taking place. Because the extent of an indeterminate operation is unknown, the bar does not use percentages.

Determinate progress bar
Create a determinate  with an initial percent-complete by setting the   option to an integer reflecting the desired percentage:"WidgetsProgressBars1.png"

Indeterminate progress bar
Create an indeterminate progress bar by setting the  option to  :"WidgetsProgressBar2.png"

Use  methods to set and get the value of the progress (  and  ).

See more
For a complete list of supported methods and configuration options, please see the code-level documentation.