OOUI/Widgets/Progress bars

Progress 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 ProgressBarWidgets show the percent of an operation that is complete. Configure a progress bar with an initial percent-complete by setting the progress option to an integer reflecting the desired percentage.

Create a determinate progress bar with a ProgressBarWidget that uses a percentage with the progress config:
 * Indeterminate ProgressBarWidgets 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. To create an indeterminate progress bar, set the progress option to ‘false.’

Create an indeterminate progress bar by setting the progress option to ‘false’:

Use ProgressBarWidget methods to set and get the value of the progress (setProgress and getProgress ). For a complete list of supported methods and configuration options, please see the code-level documentation.