I looked around a bit but couldn’t find anything on this topic. I wanted to use the right mouse button to assign a function. If anyone has any ideas they can share them.
document.getElementById("myButton").addEventListener("contextmenu", async(event) => {
//code for right-click goes here
});
1 Like
AnthonyK
Just what I was looking for
thanks