Roo/bootstrap/Element.js
[roojs1] / Roo / bootstrap / Element.js
1 /*
2  * - LGPL
3  *
4  * column
5  * 
6  */
7
8 /**
9  * @class Roo.bootstrap.Column
10  * @extends Roo.bootstrap.Component
11  * Bootstrap Column class
12  * @cfg {number} colspan  Number of columsn to span
13  * 
14  * @constructor
15  * Create a new Column
16  * @param {Object} config The config object
17  */
18
19 Roo.bootstrap.Element = function(config){
20     Roo.bootstrap.Element.superclass.constructor.call(this, config);
21 };
22
23 Roo.extend(Roo.bootstrap.Element, Roo.bootstrap.Component,  {
24     
25     tag: 'div',
26     cls: '',
27     
28     
29     getAutoCreate : function(){
30         var cfg = Roo.apply({}, Roo.bootstrap.Element.superclass.getAutoCreate.call(this));
31         
32         cfg = {
33             tag: this.tag
34         }
35         
36         return cfg;
37     }
38    
39 });
40
41  
42
43