WikiShieldProgressBar

WikiShieldProgressBar

Imperative API wrapper for WikiShieldProgressBar Maintains backward compatibility with the original class-based API

Constructor

new WikiShieldProgressBar()

Source:

Classes

WikiShieldProgressBar

Methods

cleanup()

Description:
  • Cleanup when removing

Source:

processQueue()

Description:
  • Process queued updates

Source:

remove(time)

Description:
  • Remove the progress bar after a given time

Source:
Parameters:
Name Type Description
time Number

The time to wait before removing the progress bar

set(text, width, color)

Description:
  • Set 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