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.

Create a determinate  with an initial percent-complete by setting the   option to an integer reflecting the desired percentage:
 * 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.



Create an indeterminate progress bar by setting the  option to  :



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

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