Detecting control/command clicking


I’d like to differentiate between the normal clicking of a link in Elm 0.19, and the control-clicking (command-clicking in Mac OS) of that link. It doesn’t seem to be supported directly by Browser.UrlRequest; is there some other way?


I don’t know how Browser.application works, never used it yet. But if you decode the click events your self, you can build a click event listener checking for the ctrl key (something like Decode.field "ctrlKey" Decode.bool).