ProgressBarComponent

ProgressBarComponent

Progress Bar Component

Constructor

new ProgressBarComponent()

Source:

Methods

scheduleRemoval(time)

Description:
  • Schedule removal of the progress bar

Source:
Parameters:
Name Type Description
time Number

Time in ms before removal

updateProgress(text, width, color)

Description:
  • Update the progress bar

Source:
Parameters:
Name Type Description
text String

The text to display

width Number

Percentage (0-1)

color String

CSS color for the bar