9 * @class Roo.bootstrap.Progress
10 * @extends Roo.bootstrap.Component
11 * Bootstrap Progress class
12 * @cfg {Number} aria_valuenow aria-value now
13 * @cfg {Number} aria_valuemin aria-value min
14 * @cfg {Number} aria_valuemax aria-value max
15 * @cfg {String} label label for the progress bar
16 * @cfg {String} panel (success | info | warning | danger )
20 * Create a new Progress
21 * @param {Object} config The config object
24 Roo.bootstrap.Progress = function(config){
25 Roo.bootstrap.Progress.superclass.constructor.call(this, config);
28 Roo.extend(Roo.bootstrap.Progress, Roo.bootstrap.Component, {
30 aria_valuenow : false,
36 getAutoCreate : function(){
42 if(this.aria_valuenow){
43 cfg['aria-valuenow'] = this.aria_valuenow;
47 cfg.html = this.label;
51 cfg.cls += 'progress-bar-' + this.panel;