threepenny-gui icon indicating copy to clipboard operation
threepenny-gui copied to clipboard

[HELP WANTED] Detect right click on a div

Open Lezzio opened this issue 1 year ago • 0 comments

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,

Lezzio avatar Jan 12 '23 19:01 Lezzio