You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation says both that the second arg is a Handler and that it's a Decoder a. The interface for all other packages like this is Decoder a It probably should be. But it isn't.|
Should maybe be
on : String -> Json.Decode.Decoder msg -> TypedSvg.Core.Attribute msg
on event decoder =
VirtualDom.on event (VirtualDom.Normal decoder)
and not
on : String -> VirtualDom.Handler msg -> VirtualDom.Attribute msg
on =
VirtualDom.on
The text was updated successfully, but these errors were encountered:
colwem
changed the title
Events.on documentation wrong and functions seems wrong too
Events.on documentation wrong and function seems wrong too
Jun 13, 2019
The documentation says both that the second arg is a
Handler
and that it's aDecoder a
. The interface for all other packages like this isDecoder a
It probably should be. But it isn't.|Should maybe be
and not
The text was updated successfully, but these errors were encountered: