Class: RunningIndicatorPresenter

RunningIndicatorPresenter()

Manages the running indicator and progress bar display.

Constructor

new RunningIndicatorPresenter()

Source:

Methods

hide()

Hide the running indicator.
Source:

reset()

Reset progress to 0%, bypassing the increase-only guard in updateProgress so a new batch always starts from a clean bar.
Source:

show()

Show the running indicator with progress at 0%.
Source:

updateProgress(percentage)

Update the progress bar. Only applies the update if it is an increase over the current value, so a late-arriving or out-of-order progress report cannot move the bar backwards. Use reset() to force the bar back to 0% for a new batch.
Parameters:
Name Type Description
percentage number Progress percentage (0-100)
Source: