/* * - LGPL * * header * */ /** * @class Roo.bootstrap.Header * @extends Roo.bootstrap.Component * Bootstrap Header class * @cfg {String} html content of header * @cfg {Number} level (1|2|3|4|5|6) default 1 * * @constructor * Create a new Header * @param {Object} config The config object */ Roo.bootstrap.Header = function(config){ Roo.bootstrap.Header.superclass.constructor.call(this, config); }; Roo.extend(Roo.bootstrap.Header, Roo.bootstrap.Component, { //href : false, html : false, level : 1, getAutoCreate : function(){ var cfg = { tag: 'h' + (1 *this.level), html: this.html || '' } ; return cfg; } });