constructor([text])
Class: Menu. Method inherited from MenuItem.
Description:
Constructor for Menu, MenuItem, CheckBoxMenuItem, and RadioButtonMenuItem.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
string |
Text displayed in the menu item |
