9 * @class Roo.bootstrap.Body
10 * @extends Roo.bootstrap.Component
11 * @children Roo.bootstrap.Component
12 * @parent none builder
13 * Bootstrap Body class
17 * @param {Object} config The config object
20 Roo.bootstrap.Body = function(config){
22 config = config || {};
24 Roo.bootstrap.Body.superclass.constructor.call(this, config);
25 this.el = Roo.get(config.el ? config.el : document.body );
26 if (this.cls && this.cls.length) {
27 Roo.get(document.body).addClass(this.cls);
31 Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component, {
33 is_body : true,// just to make sure it's constructed?
38 onRender : function(ct, position)
40 /* Roo.log("Roo.bootstrap.Body - onRender");
41 if (this.cls && this.cls.length) {
42 Roo.get(document.body).addClass(this.cls);