Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- handleEvent :: (MonadDOM m, IsEvent event) => EventListener -> event -> m ()
- newtype EventListener = EventListener {}
- gTypeEventListener :: JSM GType
Documentation
handleEvent :: (MonadDOM m, IsEvent event) => EventListener -> event -> m () Source #
newtype EventListener Source #
Functions for this inteface are in JSDOM.EventListener.
Instances
PToJSVal EventListener Source # | |
Defined in JSDOM.Types pToJSVal :: EventListener -> JSVal # | |
PFromJSVal EventListener Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> EventListener # | |
ToJSVal EventListener Source # | |
Defined in JSDOM.Types toJSVal :: EventListener -> JSM JSVal # toJSValListOf :: [EventListener] -> JSM JSVal # | |
FromJSVal EventListener Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe EventListener) # fromJSValUnchecked :: JSVal -> JSM EventListener # fromJSValListOf :: JSVal -> JSM (Maybe [EventListener]) # fromJSValUncheckedListOf :: JSVal -> JSM [EventListener] # | |
MakeObject EventListener Source # | |
Defined in JSDOM.Types makeObject :: EventListener -> JSM Object # | |
IsGObject EventListener Source # | |
Defined in JSDOM.Types typeGType :: EventListener -> JSM GType |