cytoscape.js-context-menus
cytoscape.js-context-menus copied to clipboard
Proper way to conditionally trigger on left click (tap)?
Just a quick ask for best practices on calling the context menu on a left click / tap (while the default is still cxttap).
This is similar to this issue: https://github.com/iVis-at-Bilkent/cytoscape.js-context-menus/issues/54, but I am simply calling a .trigger('cxttap')
on the given node that was tapped on, however this is not causing a context menu to show up (unless I have previously created a menu via right click elsewhere). Any thoughts on how best to do this?