onMenuItemClick

fires when menu item has been clicked

void onMenuItemClick(id id,Event e,HTMLElement node){ ... };

Parameters

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
If you have not checked yet, be sure to visit site of our main product Webix js framework and page of html5 context menu product.