itemRightClick
fires on right clicking an item
itemRightClick: (id: string | number, events: MouseEvent) => void;
Parameters:
id: string | number
- the id of a right-clicked itemevents: MouseEvent
- a native HTML event object
Example
list.events.on("itemRightClick", function(id, events){
// your code here
});
Related sample: List. Events
Change log:
added in v6.4