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     html: '',
28     
29     
30     
31     getAutoCreate : function(){
32         var cfg = Roo.apply({}, Roo.bootstrap.Element.superclass.getAutoCreate.call(this));
33         
34         cfg = {
35             tag: this.tag,
36             cls: '',
37             html: this.html
38         }
39         
40         return cfg;
41     }
42    
43 });
44
45  
46
47