* - LGPL
*
* Body
- *
+ *
*/
/**
* @class Roo.bootstrap.Body
* @extends Roo.bootstrap.Component
* Bootstrap Body class
- *
+ *
* @constructor
* Create a new body
* @param {Object} config The config object
*/
Roo.bootstrap.Body = function(config){
+
+ config = config || {};
+
Roo.bootstrap.Body.superclass.constructor.call(this, config);
- this.el = Roo.get(document.body);
+ this.el = Roo.get(config.el ? config.el : document.body );
if (this.cls && this.cls.length) {
Roo.get(document.body).addClass(this.cls);
}
};
Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component, {
-
+
+ is_body : true,// just to make sure it's constructed?
+
autoCreate : {
cls: 'container'
},
}
// style??? xttr???
*/
- Roo.log("Roo.bootstrap.Body.onRender");
- this.fireEvent('render',this);
}
-
-
-
-
-});
-
\ No newline at end of file
+
+
+
+});