Menuitem"
From Documentation
Line 10: | Line 10: | ||
A single choice in a <tt>Menupopup</tt> element. It acts much like a button but it is rendered on a menu. | A single choice in a <tt>Menupopup</tt> element. It acts much like a button but it is rendered on a menu. | ||
− | Default <tt>getZclass(): z-menu-item </tt>. (since 3.5.0) | + | Default <tt>getZclass(): z-menu-item </tt>. (since 3.5.0) |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
= Example = | = Example = |
Revision as of 06:55, 11 May 2010
Menuitem
Employment/Purpose
A single choice in a Menupopup element. It acts much like a button but it is rendered on a menu. Default getZclass(): z-menu-item . (since 3.5.0)
Example
Supported events
[#MouseEvent org.zkoss.zk.ui.event.MouseEvent]
Description: A menu command is associated with a menu item. There are two ways to associate a command to it: the onClick event and the href property. If a event listener is added for a menu item for the onClick event, the listener is invoked when the item is clicked.
|
Supported Children
*NONE
Use cases
Version | Description | Example Location |
---|---|---|
5.0+ |
Version History
Version | Date | Content |
---|---|---|
5.0.1 | 05/11/2010 | Initialization |