Instance Property

visible

A Boolean value that indicates whether the menu is currently visible to the user.

Declaration

readonly attribute boolean visible;

Discussion

Changes made to the menu while it is visible to the user are not reflected until the next time it is shown. If the user selects a menu item that was removed after the menu became visible, the menu item’s command is not sent.

See Also

Working with Menus

identifier

The unique identifier of the menu.

menuItems

The items in the menu.