|
YUI MenuBar. Extends HTMLObject.
Behavior Pattern: YUIMenuBarBehavior
Action Summary
Action
|
Description
|
DoFindChild
|
Searches for specific item in the menu.
|
DoMenu
|
Performs click on the menu item.
|
Action Detail
DoFindChild(path, separator, pathType)
Searches for specific item in the menu.
Parameters:
Name
|
Type
|
Description
|
path
|
string
|
Path of the menu item to select.
|
separator
|
string
|
Separator
Optional, Default: ;.
|
pathType
|
string
|
Path type. Can be one of 'name', 'index'.
|
Returns:
HTMLObject of the found node
DoMenu(path, separator, pathType)
Performs click on the menu item.
Parameters:
Name
|
Type
|
Description
|
path
|
string
|
Path of the menu item to select.
|
separator
|
string
|
Separator
Optional, Default: ;.
|
pathType
|
string
|
Path type. Can be one of 'name', 'index'.
|
Returns:
'true' if success, 'false' otherwise.
|