contextmenu

fires on calling a context menu for an item

void contextmenu(string|number id,Event e){ ... };

Deprecated

instead of it, use the itemRightClick event:

list.events.on("itemRightClick", function(id, e){
    // your code here
});

Parameters

idstring|numberthe id of a right-clicked item
eEventa native event object

Example

list.events.on("ContextMenu", function(id, e){
    // your code here
});

Back to top