I am using Mac machine and the only way that I can open the context menu is eighther “right click” using track pad/Mouse or “control+click”. I want to recognize the “control+click” event to select the first menu item from the context menu. I am unable to recognize the event first. any help ??
I want to recognize the “control+click” event to select the first menu item from the context menu.
As far as I know, ctrl-click is a default context menu trigger for Mac OS
In all event handlers you have access to the native click event, where you can check ev.ctrlKey value.