visible
Type: Boolean
Availability: Read or write at any time
The visible property of the MenuItem class specifies whether a menu is visible or hidden. Hiding an item with submenu items also hides all of the subitems.
The settings of the visible property are listed in the following table.
Setting | Description |
---|---|
true | The menu is visible (the default) |
false | The menu is hidden |
To hide a menu at start up, set the visible property to false in the JADE development environment. Setting this property in logic enables you to hide and later redisplay a menu at run time in response to a specific event.