CSS_CLASS_NAME, ITEM_TYPE, GROUP_TITLE_TAG_NAME, parent, srcElement, mouseOverEvent, mouseOutEvent, mouseDownEvent, mouseUpEvent, clickEvent, keyPressEvent, keyDownEvent, keyUpEvent
Class YAHOO.widget.Menu
Object | +--YAHOO.widget.Overlay | +--YAHOO.widget.MenuModule | +--YAHOO.widget.Menu
- Direct Known Subclasses:
- YAHOO.widget.ContextMenu
class
YAHOO.widget.Menu
Fields inherited from class YAHOO.widget.MenuModule [top]
Method Summary [top]
void |
init
(<String Id or HTMLElement> p_oElement, <Object> p_oConfig)
The Menu class's initialization method.
|
void |
onDomResize
(e, obj)
Event handler fired when the resize monitor element is resized.
|
Methods inherited from class YAHOO.widget.MenuModule
Constructor Detail [top]
YAHOO.widget.Menu
YAHOO.widget.Menu
()
- Parameters:
-
{String or HTMLElement} p_oElement
- String id or HTMLElement (either HTMLSelectElement or HTMLDivElement) of the source HTMLElement node. -
p_oConfig
- Optional. The configuration object literal containing the configuration for a Menu instance. See configuration class documentation for more details.
Method Detail [top]
init
void
init
(<String Id or HTMLElement> p_oElement, <Object> p_oConfig)
The Menu class's initialization method. This method is automatically
called by the constructor, and sets up all DOM references for pre-existing
markup, and creates required markup if it is not already present.
- Parameters:
-
{String or HTMLElement} p_oElement
- String id or HTMLElement (either HTMLSelectElement or HTMLDivElement) of the source HTMLElement node. -
p_oConfig
- Optional. The configuration object literal containing the configuration for a Menu instance. See configuration class documentation for more details.
onDomResize
void
onDomResize
(e, obj)
Event handler fired when the resize monitor element is resized.