7 Roo.bootstrap.dash = Roo.bootstrap.dash || {};
9 * @class Roo.bootstrap.TabPane
10 * @extends Roo.bootstrap.Component
11 * Bootstrap TabPane class
12 * @cfg {Boolean} active (false | true) Default false
13 * @cfg {String} title title of panel
17 * Create a new TabPane
18 * @param {Object} config The config object
21 Roo.bootstrap.dash.TabPane = function(config){
22 Roo.bootstrap.dash.TabPane.superclass.constructor.call(this, config);
28 * When a pane is activated
29 * @param {Roo.bootstrap.dash.TabPane} pane
36 Roo.extend(Roo.bootstrap.dash.TabPane, Roo.bootstrap.Component, {
41 // the tabBox that this is attached to.
44 getAutoCreate : function()
57 initEvents : function()
59 //Roo.log('trigger add pane handler');
60 this.parent().fireEvent('addpane', this)
64 * Updates the tab title
65 * @param {String} html to set the title to.
67 setTitle: function(str)
73 this.tab.select('a', true).first().dom.innerHTML = str;