Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle to triggering event in callback function #211

Closed
vidyasagar-a opened this issue May 8, 2014 · 0 comments
Closed

handle to triggering event in callback function #211

vidyasagar-a opened this issue May 8, 2014 · 0 comments
Labels

Comments

@vidyasagar-a
Copy link

Hi Rodney,
It will be nice to have the original event which triggered the context menu as part of the run-time options that are passed to callback function. I needed to know where the mouse of right clicked and I ended up doing this:-
position: function($menu, x, y) {
//cache my x, y
$.contextMenu.defaults.position($menu, x, y);
},
Thanks,
sagar

@bbrala bbrala added the Feature label Oct 12, 2015
wizzard0 added a commit to wizzard0/jQuery-contextMenu that referenced this issue May 23, 2017
Fix swisnl#211 include triggering event in menu callback
@bbrala bbrala closed this as completed in 874aa02 May 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants