Function
A menu item that can be used as a placeholder. Set the label of this item to a unique key and you can then use it to add new items at that location. This item is not displayed.
Function
Function
replaces this menu item with the given menuItems. The original menu item is not actually removed from the menu - so if you want it removed, you must do that explicitly.
true if the replace happened, false if not
Function
Also call destroy on any removed items.
Removes menu items added by calling replace(). It returns the array of items that were actually removed (in case you want to clean them up later)
The array of items that were actually removed
dijit.MenuItem[]
Function
Label to search for - if not specified, then all placeholders are returned
Returns an array of placeholders with the given label. There can be multiples.
An array of placeholders that match the given label
dojox.widget.PlaceholderMenuItem[]
Object
Object