Tracking Right click menu events?
-
21-09-2019 - |
Question
Is there a way to track the right click menu when clicked over a textarea.
I would like to know if the user selected cut,copy,paste,select all. Also, I can know when the menu is visible by detecting a right mouse click... But how can I know when it's closed?
Thank you.
Solution
OTHER TIPS
AFAIK, you can't. But you can replace the default menu with a custom one, over which you have complete control. Check this example, built using the dojo toolkit.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow