KoolSlideMenu Class [Javascript]
Summary
Methods | Description | |
getItem | Get the item of slidemenu including slidemenu parent,child and panel. | |
getSelectedId | Return array of id of selected nodes. | |
expandAll | Expand all parents of slidemenu | |
collapseAll | Collapse all parents of slidemenu | |
registerEvent | Register an client-side event. |
Methods Detail
getItemTop
object getItem(string id)
Get the item of slidemenu including slidemenu parent,child and panel. The return object could be SlideMenuParent, SlideMenuChild, SlideMenuPanel
Supported from version: 1.0.0.0
getSelectedIdTop
string getSelectedId()
Return array of id of selected nodes.
Supported from version: 1.0.0.0
registerEventTop
void registerEvent(string eventName, function handleEvent)
Register an client-side event.
Allowed eventName:
-
"OnBeforeSelect"
"OnBeforeUnSelect"
"OnBeforeExpand"
"OnBeforeCollapse"
"OnSelect"
"OnUnSelect"
"OnExpand"
"OnCollapse"
"OnParentMouseOver"
"OnParentMouseOut"
"OnChildMouseOver"
"OnChildMouseOut"
Supported from version: 1.0.0.0