/*
* - LGPL
*
- * row
+ * 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|7) default 1
-
- }
+ * @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.Navbar.Button = function(config){
- Roo.bootstrap.Navbar.Button.superclass.constructor.call(this, config);
+Roo.bootstrap.Header = function(config){
+ Roo.bootstrap.Header.superclass.constructor.call(this, config);
};
-Roo.extend(Roo.bootstrap.Navbar.Button, Roo.bootstrap.Component, {
+Roo.extend(Roo.bootstrap.Header, Roo.bootstrap.Component, {
//href : false,
html : false,
getAutoCreate : function(){
+
+
var cfg = {
- tag: 'h' + (1 *this.cfg.level),
- html: this.html || 'fill in html'
-
+ tag: 'h' + (1 *this.level),
+ html: this.html || ''
} ;
return cfg;