Roo/bootstrap/Body.js
authorAlan Knowles <alan@roojs.com>
Thu, 21 Feb 2019 07:42:26 +0000 (15:42 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 Feb 2019 07:42:26 +0000 (15:42 +0800)
Roo/bootstrap/Body.js

index 914481d..a7ae2f0 100644 (file)
@@ -13,6 +13,8 @@
  * @constructor
  * Create a new body
  * @param {Object} config The config object
+ * @cfg {DomElement} do_render - if this is set, then the constructor will try and initialize render, using this as the start point
  */
 
 Roo.bootstrap.Body = function(config){
@@ -24,6 +26,10 @@ Roo.bootstrap.Body = function(config){
     if (this.cls && this.cls.length) {
         Roo.get(document.body).addClass(this.cls);
     }
+    if (this.do_render) {
+       
+    }
+    
 };
 
 Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component,  {