Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/emptyflash/typed-svg exists but has no tag 1.0.0; Software Heritage has no tag 1.0.0 for it; no fork with tag 1.0.0 found (21 same-name repos checked); no cached copy. Use another version.
Create a custom event listener. import Json.Decode as Json onClick : msg -> Attribute msg onClick msg = on "click" (Json.succeed msg)
You first specify the name of the event in the same format as with JavaScript’s
addEventListener. Next you give a JSON decoder, which lets you pull
information out of the event object. If the decoder succeeds, it will produce
a message and route it to your update function.