* @cfg {String} theme default
* @cfg {Boolean} inverse
* @cfg {Boolean} toggle is it a slidy toggle button
+ * @cfg {Boolean} pressed (true|false) default null - if the button ahs active state
* @cfg {String} ontext text for on toggle state
* @cfg {String} offtext text for off toggle state
* @cfg {Boolean} defaulton
},
setWeight : function(str)
{
- this.el.removeClass(this.weightClass);
+ this.el.removeClass(this.weightClass);
this.el.addClass('btn-' + str);
}