swisnl / jQuery-contextMenu

jQuery contextMenu plugin & polyfill
https://swisnl.github.io/jQuery-contextMenu/
MIT License
2.24k stars 744 forks source link

Expose triggered mouse event for the 'show'/'hide' callbacks #662

Closed rromanchenko closed 6 years ago

rromanchenko commented 6 years ago

Hello guys.

I wonder, if there is an ability to access triggered mouse event in 'show'/'hide' callbacks? I would like to check if shift/ctrl/meta key is pressed inside of these callbacks, and for this an original mouse event will be needed.

Thanks.

bbrala commented 6 years ago

In the currecnt version this is not possible unfortunately. The 3.x version will support this, and will always send through the original events.

rromanchenko commented 6 years ago

Thanks.