addItem (value);
value. Child menu item: the text, HTML layout, DOM node or an delegate of the Control class, particularly an instance of the MenuItem class.
The addItem method adds a child item to the menu.
Method is used when using the static component creation. The title and a separator can be added to the menu using the method.
An example of method use is given on the page Example of creating the Menu component.
See also: