search

goog.ui.SubMenu

Provided By
Extends
All Implemented Interfaces

Class representing a submenu that can be added as an item to other menus.

new SubMenu( 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 submenu (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 dom interactions.

opt_renderer(goog.ui.MenuItemRenderer|null)=

Renderer used to render or decorate the component; defaults to goog.ui.SubMenuRenderer.

Instance Methods

Instance Properties

Static Properties