search

goog.ui.MenuItem

Provided By
Extends
All Implemented Interfaces
All Known Direct Subclasses

Class representing an item in a menu.

new MenuItem( content, opt_model, opt_domHelper, opt_renderer )

Parameters
content(string|Node|Array<Node>|NodeList<Node>|null)

Text caption or DOM structure to display as the content of the item (use to add icons or styling to menus).

opt_model*=

Data/model associated with the menu item.

opt_domHelper(goog.dom.DomHelper|null)=

Optional DOM helper used for document interactions.

opt_renderer(goog.ui.MenuItemRenderer|null)=

Optional renderer.

Instance Methods

Instance Properties

Static Properties