7 Roo.bootstrap.dash = Roo.bootstrap.dash || {};
10 * @class Roo.bootstrap.dash.TabBox
11 * @extends Roo.bootstrap.Component
12 * Bootstrap TabBox class
13 * @cfg {String} title Title of the TabBox
14 * @cfg {String} icon Icon of the TabBox
18 * @param {Object} config The config object
22 Roo.bootstrap.dash.TabBox = function(config){
23 Roo.bootstrap.dash.TabBox.superclass.constructor.call(this, config);
29 * The img click event for the img.
30 * @param {Roo.EventObject} e
36 Roo.extend(Roo.bootstrap.dash.TabBox, Roo.bootstrap.Component, {
41 getAutoCreate : function(){
45 cls: 'pull-left header',
53 cls: 'fa ' + this.icon
60 cls: 'nav-tabs-custom',
64 cls: 'nav nav-tabs pull-right',
71 cls: 'tab-content no-padding',
80 initEvents: function() {
83 // Roo.each(_this.el.select('li',true).elements, function(el){
85 // el.on('click', _this.onClick, el);
91 // Roo.log('img onclick');
93 // this.findParent('ul',false, true).select('li.active').removeClass('active');
94 // this.addClass('active');