onMenuItemClick

fires when menu item has been clicked

void onMenuItemClick(id id,Event e,HTMLElement node);
ididitem ID
eEventmouse event object
nodeHTMLElementtarget HTML element

Example

menu.attachEvent("onMenuItemClick", function(id, e, node){
    //code
});

Related samples

Details

Unlike the onItemClick, this event fires for all menu item regardless of their nesting level.

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix javascript dashboard framework and page of javascript menu library product.