9 * @class Roo.bootstrap.Body
10 * @extends Roo.bootstrap.Component
11 * Bootstrap Body class
15 * @param {Object} config The config object
18 Roo.bootstrap.Body = function(config){
20 config = config || {};
22 Roo.bootstrap.Body.superclass.constructor.call(this, config);
23 this.el = Roo.get(config.el ? config.el : document.body );
24 if (this.cls && this.cls.length) {
25 Roo.get(document.body).addClass(this.cls);
29 Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component, {
31 is_body : true,// just to make sure it's constructed?
36 onRender : function(ct, position)
38 /* Roo.log("Roo.bootstrap.Body - onRender");
39 if (this.cls && this.cls.length) {
40 Roo.get(document.body).addClass(this.cls);