phylotree.js icon indicating copy to clipboard operation
phylotree.js copied to clipboard

Allow menu to be shown on 'contextmenu'

Open thomasstjerne opened this issue 1 year ago • 0 comments

If the click event is used for other purposes (i.e. set in the node-styler option), then it would be convenient to be able to show the menu on the "contextmenu" event rather than the "click" event.

Instead of the show-menu option being a boolean, it could be either "click", "contextmenu" or null (defaulting to "click").

Thanks for all your work!

thomasstjerne avatar Oct 19 '23 11:10 thomasstjerne