https://github.com/elm/html/issues/110 I see that question
But I don’t know. How to use it with event cmd + click
Perhaps this Elm keyboard package can help.
1 Like
@Ivan_Moroz you can easily check on the values of alt
, ctrl
and shift
keys with this package or have a look at its source code to copy this part if you only want this functionality. You can copy this decoder for the metaKey
property if you want to detect the command (mac) / windows key. It does not work on Linux though.
1 Like
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.