menubuttonrenderer.js
No description.

File Location

/goog/ui/menubuttonrenderer.js

Classes

goog.ui.MenuButtonRenderer
Renderer for goog.ui.MenuButtons. This implementation overrides goog.ui.CustomButtonRenderer#createButton to create a separate caption and dropdown element.

Public Protected Private

Global Functions

goog.ui.MenuButtonRenderer.getInstance()
No description.
code »
goog.ui.MenuButtonRenderer.wrapCaption(contentcssClassdom) !Element
Takes a text caption or existing DOM structure, and returns it wrapped in an appropriately-styled DIV. Creates the following DOM structure:
Contents...
Arguments:
content : goog.ui.ControlContent
Text caption or DOM structure to wrap in a box.
cssClass : string
The CSS class for the renderer.
dom : goog.dom.DomHelper
DOM helper, used for document interaction.
Returns: !Element  Caption element.
code »

Directory ui

File Reference