MAF.utility.WaitIndicator Singleton
MAF.utility.WaitIndicator()
Methods
check() → {Number}
Waitindicator checks its state and updates.
Returns:
Number outstanding tasks
down() → {Number}
Decrease the number of outstanding tasks by one.
Returns:
Number outstanding tasks
hide(force) → {Boolean}
Hide the waitindicator.
Parameters:
Name Type Description force Boolean Wether to force hide the waitindicator.
Returns:
off() → {Boolean}
Force the waitindicator off. Outstanding tasks will be set to 0.
Returns:
on() → {Number}
Turn the waitindicator on. This does not increase the number of oustanding tasks.
Returns:
Number outstanding tasks
show() → {Boolean}
Returns:
toggle() → {Boolean}
Toggle the waitindicator on and off.
Returns:
up() → {Number}
Increase the number of outstanding tasks by one.
Returns:
Number outstanding tasks