Yahoo! UI Library

TreeView Widget 

Yahoo! UI Library > treeview > YAHOO.widget.MenuNode

Class YAHOO.widget.MenuNode - extends YAHOO.widget.TextNode

A menu-specific implementation that differs from TextNode in that only one sibling can be expanded at a time.

Constructor

YAHOO.widget.MenuNode ( oData , oParent , expanded )
Parameters:
oData <object> a string or object containing the data that will be used to render this node
oParent <YAHOO.widget.Node> this node's parent node
expanded <boolean> the initial expanded/collapsed state

Properties inherited from YAHOO.widget.TextNode:

Methods inherited from YAHOO.widget.TextNode:

Events inherited from YAHOO.widget.Node:


Copyright © 2006 Yahoo! Inc. All rights reserved.