menu-item
This topic describes the menu-item element
Description
Menu items, configured using the menu-item element, are used in dropdown menus in the Knowledge Center UI. Refer to the topic for more information.
You can add custom menu-items or toolbar buttons to the UI using the overlay element in the configuration. The behavior is based on a role or a command.
<dropdown-button after="SaveButton">
<menu>
<menu-group>
<menu-item iconsrc="html.gif" command="publishHTMLCommand" label="Make HTML"/>
</menu-group>
</menu>
</dropdown-button>
Namespace
http://xopus.com/2009/lui
Attributes
| Name | Description and Use | Type |
|---|---|---|
command | -Optional The name of the | string |
role | -Optional -The | string |
iconsrc | Optional -URL for the icon on this button. Relative URI's are resolved from the location of the configuration file. The size of this icon should be 24x24, with the picture inside the 18x18 range. Use a transparent GIF, as we are not adding alpha styling for PNG. | valid URL |
id | Optional -The ID for this button component. | string |
label | The text of the item. | string |
mode | -Optional This attribute describes behavior for pressing the menu-item. When set to When set to | string |
Parent element
menu-group