YAHOO.widget.MenuNode
(
oData
,
oParent
,
expanded
)
- Parameters:
-
oData <object>
a string or object containing the data that will be used to render this node. Valid properties:- label
- The text for the node's label
- title
- The title attribute for the label anchor
- title
- The title attribute for the label anchor
- href
- The href for the node's label. By default it is set to expand/collapse the node.
- target
- The target attribute for the label anchor
- style
- A CSS class to apply to the label anchor
-
oParent <YAHOO.widget.Node>
this node's parent node -
expanded <boolean>
the initial expanded/collapsed state