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)
21 Roo.bootstrap.Body.superclass.constructor.call(this, config);
22 this.el = Roo.get(document.body);
23 if (this.cls && this.cls.length) {
24 Roo.get(document.body).addClass(this.cls);
29 Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component, {
34 onRender : function(ct, position)
36 /* Roo.log("Roo.bootstrap.Body - onRender");
37 if (this.cls && this.cls.length) {
38 Roo.get(document.body).addClass(this.cls);
42 Roo.log("Roo.bootstrap.Body.onRender");
43 this.fireEvent('render',this);