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 )
17 * @cfg {String} role role of the progress bar
21 * Create a new Progress
22 * @param {Object} config The config object
25 Roo.bootstrap.Progress = function(config){
26 Roo.bootstrap.Progress.superclass.constructor.call(this, config);
29 Roo.extend(Roo.bootstrap.Progress, Roo.bootstrap.Component, {
31 aria_valuenow : false,
37 getAutoCreate : function(){
49 if(this.aria_valuenow){
50 cfg.cn[0]['aria-valuenow'] = this.aria_valuenow;
54 cfg.cn[0].html = this.label;
58 cfg.cn[0].cls += 'progress-bar-' + this.panel;