Module
Elmish.Dispatch
- Package
- purescript-elmish
- Repository
- collegevine/purescript-elmish
#EventHandler Source
newtype EventHandler eventType of event handling functions. This is the standard shape of all event
handlers on React's built-in components (aka tags) and most third-party
components as well. The constructor is intentionally hidden. Use the
handle function to create instances of this type.
Instances
CanPassToJavaScript (EventHandler event)
#handle Source
handle :: forall event. Dispatch event -> EventHandler eventCreate a React event handler from a function event -> Effect Unit.