Safe Haskell | None |
---|---|
Language | Haskell2010 |
- addEventListener :: (MonadDOM m, IsEventTarget self, ToJSString type', IsAddEventListenerOptionsOrBool options) => self -> type' -> Maybe EventListener -> options -> m ()
- removeEventListener :: (MonadDOM m, IsEventTarget self, ToJSString type', IsEventListenerOptionsOrBool options) => self -> type' -> Maybe EventListener -> options -> m ()
- dispatchEvent :: (MonadDOM m, IsEventTarget self, IsEvent event) => self -> event -> m Bool
- dispatchEvent_ :: (MonadDOM m, IsEventTarget self, IsEvent event) => self -> event -> m ()
- newtype EventTarget = EventTarget {}
- gTypeEventTarget :: JSM GType
- class IsGObject o => IsEventTarget o
- toEventTarget :: IsEventTarget o => o -> EventTarget
Documentation
addEventListener :: (MonadDOM m, IsEventTarget self, ToJSString type', IsAddEventListenerOptionsOrBool options) => self -> type' -> Maybe EventListener -> options -> m () Source #
removeEventListener :: (MonadDOM m, IsEventTarget self, ToJSString type', IsEventListenerOptionsOrBool options) => self -> type' -> Maybe EventListener -> options -> m () Source #
dispatchEvent :: (MonadDOM m, IsEventTarget self, IsEvent event) => self -> event -> m Bool Source #
dispatchEvent_ :: (MonadDOM m, IsEventTarget self, IsEvent event) => self -> event -> m () Source #
newtype EventTarget Source #
Functions for this inteface are in JSDOM.EventTarget.
class IsGObject o => IsEventTarget o Source #
toEventTarget :: IsEventTarget o => o -> EventTarget Source #