Class name

E.bootstrap.progressbar

Methods

Method Parameters Returns Description Example
attr key, value this Add attribute key/value to component attr('id','myprogress')
build string Build string of component markup build()
append jquery selector boolean Build and append string to DOM append('#mydiv')
bar min, max, value, [mode], [label] this Add bar instance go component bar(0,100,68,'primary')

Available bar modes include all valid modes, plus a custom extension mode offset.

Examples

Basic
Basic with label
68%
Stacked
Offset

The offset mode is actually an invisible stacked bar item to make non-zero oriented bar segments possible.

Last modified: 2016-02-05