Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/widget/PlaceholderMenuItem.js

  • Provides:

    • dojox.widget.PlaceholderMenuItem
  • Requires:

    • dijit.Menu in common
  • dijit.Menu

    • type
      Function
  • dijit.Menu.getPlaceholders

    • parameters:
      • label: (typeof String)
        Label to search for - if not specified, then all placeholders
        are returned
    • returns
      dojox.widget.PlaceholderMenuItem[]
    • summary
      Returns an array of placeholders with the given label.  There
      can be multiples.
    • return_summary
      An array of placeholders that match the given label
    • type
      Function
  • dojox.widget.PlaceholderMenuItem

    • type
      Function
    • chains:
      • dijit.MenuItem: (prototype)
      • dijit.MenuItem: (call)
    • summary
      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.
  • dojox.widget.PlaceholderMenuItem._replaced

    • type
      bool
  • dojox.widget.PlaceholderMenuItem._replacedWith

    • type
      Array
  • dojox.widget.PlaceholderMenuItem._isPlaceholder

    • type
      Object
  • dojox.widget.PlaceholderMenuItem.postCreate

    • type
      Function
  • dojox.widget.PlaceholderMenuItem.domNode.style.display

    • type
      String
  • dojox.widget.PlaceholderMenuItem.label

  • dojox.widget.PlaceholderMenuItem.replace

    • parameters:
      • menuItems: (typeof dijit.MenuItem[])
    • summary
      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.
    • return_summary
      true if the replace happened, false if not
    • type
      Function
  • dojox.widget.PlaceholderMenuItem.unReplace

    • parameters:
      • destroy: (typeof Boolean)
        Also call destroy on any removed items.
    • returns
      dijit.MenuItem[]
    • summary
      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)
    • return_summary
      The array of items that were actually removed
    • type
      Function
  • dojox.widget

    • type
      Object
  • dojox

    • type
      Object