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

Safe HaskellNone
LanguageHaskell2010

GHCJS.DOM.EventM

Documentation

type EventM t e = ReaderT e IO Source

newtype SaferEventListener t e :: * -> * -> *

data EventName t e :: * -> * -> *

on :: (IsEventTarget t, IsEvent e) => t -> EventName t e -> EventM t e () -> IO (IO ()) Source

target :: (IsEvent e, IsGObject t) => EventM t e (Maybe t) Source