ProgressBar (from Input)¶
A progress bar allowing various styles. This can also be used as a form input.
Options¶
- Inherits all from Input.
- orientation - Can be
horizontal
orvertical
. - style.bar - Style of the bar contents itself.
- pch - The character to fill the bar with (default is space).
- filled - The amount filled (0 - 100).
- value - Same as
filled
. - keys - Enable key support.
- mouse - Enable mouse support.
Properties¶
- Inherits all from Input.
Events¶
- Inherits all from Input.
- reset - Bar was reset.
- complete - Bar has completely filled.
Methods¶
- Inherits all from Input.
- progress(amount) - Progress the bar by a fill amount.
- setProgress(amount) - Set progress to specific amount.
- reset() - Reset the bar.
Last update: February 22, 2020