9 * @class Roo.bootstrap.Body
10 * @extends Roo.bootstrap.Component
12 * Bootstrap Body class
16 * @param {Object} config The config object
19 Roo.bootstrap.Body = function(config){
21 config = config || {};
23 Roo.bootstrap.Body.superclass.constructor.call(this, config);
24 this.el = Roo.get(config.el ? config.el : document.body );
25 if (this.cls && this.cls.length) {
26 Roo.get(document.body).addClass(this.cls);
30 Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component, {
32 is_body : true,// just to make sure it's constructed?
37 onRender : function(ct, position)
39 /* Roo.log("Roo.bootstrap.Body - onRender");
40 if (this.cls && this.cls.length) {
41 Roo.get(document.body).addClass(this.cls);