Skip to main content

itemRightClick

fires on right clicking an item

itemRightClick: (id: string | number, events: MouseEvent) => void;

Parameters:

  • id: string | number - the id of a right-clicked item
  • events: MouseEvent - a native HTML event object

Example

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

Related sample: List. List Events

Change log:

added in v6.4