Instance Property

separator

A Boolean value that indicates whether the menu item is a separator.

Declaration

readonly attribute boolean separator;

Discussion

This attribute is optional; the default value is false.

See Also

Working with Menu Items

title

The title displayed in the menu.

image

The URL of the image shown next to the menu item.

submenu

The submenu displayed by this menu item.