Module
DOM.Simple.EventListener
- Package
- purescript-dom-simple
- Repository
- garganscript/purescript-dom-simple
#dispatchEvent Source
dispatchEvent :: forall l e. IsEventListener l => l -> e -> Effect Unit
#addEventListener Source
addEventListener :: forall listener event. IsEventListener listener => IsEvent event => listener -> String -> Callback event -> Effect Unit
A little unsafe
#removeEventListener Source
removeEventListener :: forall listener event. IsEventListener listener => IsEvent event => listener -> String -> Callback event -> Effect Unit