Roo/bootstrap/Header.js
authorAlan Knowles <alan@roojs.com>
Wed, 22 Jan 2014 12:52:50 +0000 (20:52 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 22 Jan 2014 12:52:50 +0000 (20:52 +0800)
Roo/bootstrap/Header.js

index e69de29..539dd69 100644 (file)
@@ -0,0 +1,48 @@
+/*
+ * - LGPL
+ *
+ * row
+ * 
+ */
+/**
+ * @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
+    
+  }
+ * @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.extend(Roo.bootstrap.Navbar.Button, Roo.bootstrap.Component,  {
+    
+    //href : false,
+    html : false,
+    level : 1,
+    
+    
+    
+    getAutoCreate : function(){
+        
+        var cfg = {
+            tag: 'h' + (1 *this.cfg.level),
+            html: 'hello',
+            
+        } ;
+        
+        return cfg;
+    }
+   
+});
+
+
\ No newline at end of file