easily make a widget more meaningful to a particular context by adding any of the contextual state classes
Type
string
$striped
$striped : boolean
Type
boolean
— indicates whether the bar is striped.
$animated
$animated : boolean
Type
boolean
— indicates whether the bar is animated.
$percent
$percent : integer
Type
integer
— the amount of progress in percent.
$htmlOptions
$htmlOptions : array
Type
array
— the HTML attributes for the widget container.
$content
$content : string
Type
string
— div content
$stacked
$stacked : array
Type
array
— set to an array of progress bar values to display stacked progress bars
<pre>
'stacked'=>array(
array('context' => 'info|success|warning|danger', 'percent'=>'30', 'htmlOptions'=>array('class'=>'custom')),
array('context' => 'info|success|warning|danger', 'percent'=>'30'),
)
</pre>
$progressClasses
$progressClasses
$progressBarClasses
$progressBarClasses
Methods
init()
init()
### .init()
Initializes the widget.
run()
run()
### .run()
Runs the widget.
addCssClass()
addCssClass(array $htmlOptions, string $class)
Utility function for appending class names for a generic $htmlOptions array.