ghcjs-dom-0.1.1.0: DOM library that supports both GHCJS and WebKitGTK

Safe HaskellNone
LanguageHaskell2010

GHCJS.DOM.EventM

Documentation

type Signal target callback = target -> callback -> IO (IO ()) Source

type EventM e t a = ReaderT (t, e) IO a Source

eventTarget :: IsEvent e => EventM e t (Maybe EventTarget) Source

eventCurrentTarget :: IsEvent e => EventM e t (Maybe EventTarget) Source

srcElement :: IsEvent e => EventM e t (Maybe EventTarget) Source

connect :: (GObjectClass t, IsEvent e, ToDOMString string) => string -> t -> EventM e t () -> IO (IO ()) Source