Instance Property

title

The title displayed in the menu.

Declaration

attribute DOMString title;

Discussion

If the separator property is true, the value of this property is ignored.

Setting this property to the empty string, null, or undefined has no effect.

See Also

Working with Menu Items

separator

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

image

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

submenu

The submenu displayed by this menu item.