Open
Description
Hi there,
Is there any way of finding out the element that opened the menu on right click? I can see how to do that for the menu items but not the element that triggers the menu to open.
I can do this:
$('.selector').contextmenu(function (e) { console.log($(e.target)) })
but I'm unsure if there's an official/better way.
Many thanks in advance.