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

dijit/MenuItem.js

  • Provides:

    • dijit.MenuItem
  • Requires:

    • dijit._Widget in common
    • dijit._Templated in common
    • dijit._Contained in common
    • dijit._CssStateMixin in common
  • dijit.MenuItem

    • type
      Function
    • chains:
      • dijit._Widget: (prototype)
      • dijit._Templated.prototype: (prototype)
      • dijit._Contained.prototype: (prototype)
      • dijit._CssStateMixin.prototype: (prototype)
      • dijit._Widget: (call)
      • dijit._Templated: (call)
      • dijit._Contained: (call)
      • dijit._CssStateMixin: (call)
    • summary
      A line item in a Menu Widget
  • dijit.MenuItem.templateString

    • type
      Object
  • dijit.MenuItem.attributeMap

    • type
      Object
  • dijit.MenuItem.baseClass

    • type
      String
  • dijit.MenuItem.label

    • type
      String
    • summary
      Menu text
  • dijit.MenuItem.iconClass

    • type
      String
    • summary
      Class to apply to DOMNode to make it display an icon.
  • dijit.MenuItem.accelKey

    • type
      String
    • summary
      Text for the accelerator (shortcut) key combination.
      Note that although Menu can display accelerator keys there
      is no infrastructure to actually catch and execute these
      accelerators.
  • dijit.MenuItem.disabled

    • type
      Boolean
    • summary
      If true, the menu item is disabled.
      If false, the menu item is enabled.
  • dijit.MenuItem._fillContent

    • parameters:
      • source: (typeof DomNode)
    • type
      Function
  • dijit.MenuItem.buildRendering

    • type
      Function
  • dijit.MenuItem._onHover

    • summary
      Handler when mouse is moved onto menu item
    • tags:
    • type
      Function
  • dijit.MenuItem._onUnhover

    • summary
      Handler when mouse is moved off of menu item,
      possibly to a child menu, or maybe to a sibling
      menuitem or somewhere else entirely.
    • tags:
    • type
      Function
  • dijit.MenuItem._onClick

    • parameters:
      • evt
    • summary
      Internal handler for click events on MenuItem.
    • tags:
    • type
      Function
  • dijit.MenuItem.onClick

    • parameters:
      • evt: (typeof Event)
    • summary
      User defined function to handle clicks
    • tags: callback
    • type
      Function
  • dijit.MenuItem.focus

    • summary
      Focus on this MenuItem
    • type
      Function
  • dijit.MenuItem._onFocus

    • summary
      This is called by the focus manager when focus
      goes to this MenuItem or a child menu.
    • tags:
    • type
      Function
  • dijit.MenuItem._setSelected

    • parameters:
      • selected
    • summary
      Indicate that this node is the currently selected one
    • tags:
    • type
      Function
  • dijit.MenuItem.setLabel

    • parameters:
      • content: (typeof String)
    • summary
      Deprecated.   Use set('label', ...) instead.
    • tags:
    • type
      Function
  • dijit.MenuItem.setDisabled

    • parameters:
      • disabled: (typeof Boolean)
    • summary
      Deprecated.   Use set('disabled', bool) instead.
    • tags:
    • type
      Function
  • dijit.MenuItem._setDisabledAttr

    • parameters:
      • value: (typeof Boolean)
    • summary
      Hook for attr('disabled', ...) to work.
      Enable or disable this menu item.
    • type
      Function
  • dijit.MenuItem._setAccelKeyAttr

    • parameters:
      • value: (typeof String)
    • summary
      Hook for attr('accelKey', ...) to work.
      Set accelKey on this menu item.
    • type
      Function
  • dijit.MenuItem.accelKeyNode.style.display

  • dijit.MenuItem.accelKeyNode.innerHTML

  • dijit

    • type
      Object