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

index efebae7..8e37566 100644 (file)
@@ -163,6 +163,8 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
      * = some of our projects use a flat rendering of the output, and try and overlay it with dynamic data.
      *  -- this is a bit of a nightmare... and is even more confusing to debug..
      *
+     *  
+     *
      */
     addxtype  : function(tree,cntr)
     {
@@ -236,7 +238,13 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
        
         return ret;
     },
-    
+    /**
+     * add a child to this element
+     *   - turn the child.cfg into a child_instance
+     *   - call child_instance.render( this { getContainerMethod()} )
+     *   - loop through the children, and call addxtype.. (reall this) on newly created child.
+     *  
+     */
     
     addxtypeChild : function (tree, cntr, is_body)
     {