The DojoMenuItem widget describes the items that are associated
with a menu. Code a DojoMenuItem widget for each menu item.
Fields
- disabled
- Indicates whether the menu item is disabled. If a menu item is
disabled, it is gray. Valid values are true and false.
- iconClass
- Specifies the CSS style class for the icon that is associated
with the menu item
- text
- The text of the item within the menu list
Other supported fields and functions are described in the following
topics in the EGL Programmer’s Guide: “Rich UI widget fields” and
”Rich UI widget functions.”
Use of this widget requires the following statement:
import dojo.widgets.DojoMenuItem;