Hello, I would like to know how to do contextmenu with right click. what is inside a DIV. because it is very cool
There is an oncontextmenu
event you can listen to:
https://www.w3schools.com/jsref/event_oncontextmenu.asp
There’s no built-in support for this in Hype’s action list, so you’d need to either make your own div with the oncontextmenu
attribute pointing to code, or use the window.addEventListener()
(or for older MSIE window.attachEvent()
) call to add it.