search

goog.ui.AttachableMenu

Provided By
Extends
All Implemented Interfaces
warning Deprecated

Use goog.ui.PopupMenu.

An implementation of a menu that can attach itself to DOM element that are annotated appropriately.

The following attributes are used by the AttachableMenu

menu-item - Should be set on DOM elements that function as items in the menu that can be selected. classNameSelected - A class that will be added to the element's class names when the item is selected via keyboard or mouse.

new AttachableMenu( opt_element )

Parameters
opt_element(Element|null)=

A DOM element for the popup.

Instance Methods

Instance Properties