fix menu children
authorAlan Knowles <alan@roojs.com>
Thu, 19 Aug 2021 03:02:06 +0000 (11:02 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 19 Aug 2021 03:02:06 +0000 (11:02 +0800)
Roo/bootstrap/menu/Menu.js
docs/json/roodata.json
docs/src/Roo_bootstrap_PagingToolbar.js.html
docs/src/Roo_bootstrap_menu_Menu.js.html
docs/symbols/Roo.bootstrap.menu.Menu.json

index caf2b13..07bd3d2 100644 (file)
@@ -3,7 +3,7 @@
  * @class Roo.bootstrap.menu.Menu
  * @extends Roo.bootstrap.Component
  * @licence LGPL
- * @children Roo.bootstrap.menu.Item
+ * @children Roo.bootstrap.menu.Item Roo.bootstrap.menu.Separator
  * @parent none
  * Bootstrap Menu class - container for MenuItems - normally has to be added to a object that supports the menu property
  * 
@@ -11,8 +11,8 @@
  * @cfg {bool} hidden  if the menu should be hidden when rendered.
  * @cfg {bool} stopEvent (true|false)  Stop event after trigger press (default true)
  * @cfg {bool} isLink (true|false)  the menu has link disable auto expand and collaspe (default false)
-  * @cfg {bool} hideTrigger (true|false)  default false - hide the carret for trigger.
-  * @cfg {String} align  default tl-bl? == below  - how the menu should be aligned. 
+* @cfg {bool} hideTrigger (true|false)  default false - hide the carret for trigger.
+* @cfg {String} align  default tl-bl? == below  - how the menu should be aligned. 
  
  * @constructor
  * Create a new Menu
index a4bed05..4367cb4 100644 (file)
     "isBuilderTop" : false,
     "implementations" : [],
     "tree_children" : [
-      "Roo.bootstrap.menu.Item"
+      "Roo.bootstrap.menu.Item",
+      "Roo.bootstrap.menu.Separator"
     ],
     "tree_parent" : [
       "none"
index c52e962..b46ed5d 100644 (file)
     },
 
     </span><span class="jsdoc-comment">// private
-    </span><span class="jsdoc-var">onLoadError </span><span class="jsdoc-syntax">: </span><span class="jsdoc-keyword">function</span><span class="jsdoc-syntax">(</span><span class="jsdoc-var">o</span><span class="jsdoc-syntax">){
+    </span><span class="jsdoc-var">onLoadError </span><span class="jsdoc-syntax">: </span><span class="jsdoc-keyword">function</span><span class="jsdoc-syntax">(</span><span class="jsdoc-var">proxy</span><span class="jsdoc-syntax">, </span><span class="jsdoc-var">o</span><span class="jsdoc-syntax">){
         </span><span class="jsdoc-var">this.loading.enable</span><span class="jsdoc-syntax">();
         </span><span class="jsdoc-keyword">if </span><span class="jsdoc-syntax">(</span><span class="jsdoc-var">this.ds.events.loadexception.listeners.length  </span><span class="jsdoc-syntax">&lt; 2) {
             </span><span class="jsdoc-comment">// nothing has been assigned to loadexception except this...
index 6c33b1f..cf22de2 100644 (file)
@@ -3,7 +3,7 @@
  * @class Roo.bootstrap.menu.Menu
  * @extends Roo.bootstrap.Component
  * @licence LGPL
- * @children Roo.bootstrap.menu.Item
+ * @children Roo.bootstrap.menu.Item Roo.bootstrap.menu.Separator
  * @parent none
  * Bootstrap Menu class - container for MenuItems - normally has to be added to a object that supports the menu property
  * 
@@ -11,8 +11,8 @@
  * @cfg {bool} hidden  if the menu should be hidden when rendered.
  * @cfg {bool} stopEvent (true|false)  Stop event after trigger press (default true)
  * @cfg {bool} isLink (true|false)  the menu has link disable auto expand and collaspe (default false)
-  * @cfg {bool} hideTrigger (true|false)  default false - hide the carret for trigger.
-  * @cfg {String} align  default tl-bl? == below  - how the menu should be aligned. 
+* @cfg {bool} hideTrigger (true|false)  default false - hide the carret for trigger.
+* @cfg {String} align  default tl-bl? == below  - how the menu should be aligned. 
  
  * @constructor
  * Create a new Menu
index 6d8c8e6..c791bae 100644 (file)
@@ -7,7 +7,8 @@
   ],
   "childClasses" : {  },
   "tree_children" : [
-    "Roo.bootstrap.menu.Item"
+    "Roo.bootstrap.menu.Item",
+    "Roo.bootstrap.menu.Separator"
   ],
   "tree_parent" : [
     "none"