YAHOO.widget.MenuItem
(
p_oObject
,
p_oConfig
)
- Parameters:
-
p_oObject <String>
String specifying the text of the menu item. -
p_oObject <HTMLLIElement>
Object specifying the<li>
element of the menu item. -
p_oObject <HTMLOptGroupElement>
Object specifying the<optgroup>
element of the menu item. -
p_oObject <HTMLOptionElement>
Object specifying the<option>
element of the menu item. -
p_oConfig <Object>
Optional. Object literal specifying the configuration for the menu item. See configuration class documentation for more details.