threepenny-gui
threepenny-gui copied to clipboard
[HELP WANTED] Detect right click on a div
Hi,
I just wanted to know how I could detect a right-click on a div (have the distinction between the left one and right one)
myDiv <- UI.div on UI.myDiv cell $ \event -> do --something if it's a right-click
Thank you in advance,