lib/YuiRestClient/Widget/ProgressBar.pm

NAME

YuiRestClient::Widget::ProgressBar - handle progress bars

COPYRIGHT

Copyright 2021 SUSE LLC

SPDX-License-Identifier: FSFAP

AUTHORS

QE YaST <qa-sle-yast@suse.de>

SYNOPSIS

$self->{pba_total_packages}->value(); $self->{pba_total_packages}->max_value();

DESCRIPTION

Overview

Class to represent a progress bar. It can be YProgressBar.

{
   "class": "YProgressBar",
   "hstretch" : true,
   "id" : "initProg",
   "label" : "Disk",
   "max_value" : 1000,
   "value" : 666
}

Class and object methods

value() - returns the current string stored in the "value" property. max_value() - returns the current string stored in the "max_value" property.