ProgressBar
The DropDownList element extends the View interface and is designed to display progress as a fillable bar.
To create a ProgressBar, the function is used:
func NewProgressBar(session Session, params Params) ProgressBar
ProgressBar has two float64 properties:
- "progress-max" (ProgressBarMax constant) - maximum value (default 1);
- "progress-value" (ProgressBarValue constant) - current value (default 0).
The minimum is always 0.In addition to float64, float32, int, int8 … int64, uint, uint8 … uint64
You can read the value of these properties using the functions
func GetProgressBarMax(view View, subviewID ...string) float64 func GetProgressBarValue(view View, subviewID ...string) float64