jsaddle-dom-0.9.2.0: DOM library that uses jsaddle to support both GHCJS and GHC

Safe HaskellNone
LanguageHaskell2010

JSDOM.EventM

Documentation

type EventM t e = ReaderT e DOM Source #

data EventName t e Source #

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

event :: EventM t e e Source #

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