YAHOO.widget.MenuItem
(
p_oObject
,
p_oConfig
)
- Parameters:
-
p_oObject <HTML>
Markup for the menu item content. The markup is inserted into the DOM as HTML, and should be escaped by the implementor if coming from an external source. -
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.