Object |
superclass
|
Class YAHOO.widget.Menu
Object | +--YAHOO.widget.Overlay | +--YAHOO.widget.MenuModule | +--YAHOO.widget.Menu
- Direct Known Subclasses:
- YAHOO.widget.ContextMenu
class
YAHOO.widget.Menu
Field Summary [top]
Fields inherited from class YAHOO.widget.MenuModule [top]
Method Summary [top]
void |
init
(<String Id or HTMLElement> p_oElement, <Object> p_oUserConfig)
The Menu class's initialization method.
|
Methods inherited from class YAHOO.widget.MenuModule
Constructor Detail [top]
YAHOO.widget.Menu
YAHOO.widget.Menu
()
- Parameters:
-
String
- String id or HTMLElement (either HTMLSelectElement or HTMLDivElement) of the source HTMLElement node. -
p_oUserConfig
- 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_oUserConfig)
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:
-
p_oElement
- String id or HTMLElement (either HTMLSelectElement or HTMLDivElement) of the source HTMLElement node. -
p_oUserConfig
- Optional. The configuration object literal containing the configuration for a Menu instance. See configuration class documentation for more details.