search

goog.ui.SelectionMenuButton

Provided By
Extends
All Implemented Interfaces

A selection menu button control. Extends goog.ui.MenuButton. Menu contains 'select all' and 'select none' MenuItems for selecting all and no items by default. Other MenuItems can be added by user.

The checkbox content fires the action events associated with the 'select all' and 'select none' menu items.

new SelectionMenuButton( opt_renderer, opt_itemRenderer, opt_domHelper )

Parameters
opt_renderer(goog.ui.ButtonRenderer|null)=

Renderer used to render or decorate the menu button; defaults to goog.ui.MenuButtonRenderer.

opt_itemRenderer(goog.ui.MenuItemRenderer|null)=

Optional menu item renderer.

opt_domHelper(goog.dom.DomHelper|null)=

Optional DOM helper, used for document interaction.

Instance Methods

Instance Properties

Enumerations