Closed jbmyid closed 7 years ago
In the callback for the click, the second parameter is event
. You can get the target from there. If you mean the exact option that was clicked, this is available as the 5th parameter.
No in the event target is not available, also 5th option is the li of context menu.
I want the element on which we do right click.
@jbmyid what are the properties available in the event? Can you post them here?
It just gives coordinates
The event should now have a "target" which is the element the context menu was on.
cool thanks, when will it be available on bower?
How to access the element which we have added context menu on. No information in the event either.