Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newPromiseRejectionEvent :: (MonadDOM m, ToJSString type') => type' -> PromiseRejectionEventInit -> m PromiseRejectionEvent
- getPromise :: MonadDOM m => PromiseRejectionEvent -> m JSVal
- getReason :: MonadDOM m => PromiseRejectionEvent -> m JSVal
- newtype PromiseRejectionEvent = PromiseRejectionEvent {}
- gTypePromiseRejectionEvent :: JSM GType
Documentation
newPromiseRejectionEvent :: (MonadDOM m, ToJSString type') => type' -> PromiseRejectionEventInit -> m PromiseRejectionEvent Source #
getPromise :: MonadDOM m => PromiseRejectionEvent -> m JSVal Source #
newtype PromiseRejectionEvent Source #
Functions for this inteface are in JSDOM.PromiseRejectionEvent. Base interface functions are in:
Instances
PToJSVal PromiseRejectionEvent Source # | |
Defined in JSDOM.Types pToJSVal :: PromiseRejectionEvent -> JSVal # | |
PFromJSVal PromiseRejectionEvent Source # | |
Defined in JSDOM.Types | |
ToJSVal PromiseRejectionEvent Source # | |
Defined in JSDOM.Types toJSVal :: PromiseRejectionEvent -> JSM JSVal # toJSValListOf :: [PromiseRejectionEvent] -> JSM JSVal # | |
FromJSVal PromiseRejectionEvent Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe PromiseRejectionEvent) # fromJSValUnchecked :: JSVal -> JSM PromiseRejectionEvent # fromJSValListOf :: JSVal -> JSM (Maybe [PromiseRejectionEvent]) # fromJSValUncheckedListOf :: JSVal -> JSM [PromiseRejectionEvent] # | |
MakeObject PromiseRejectionEvent Source # | |
Defined in JSDOM.Types | |
IsEvent PromiseRejectionEvent Source # | |
Defined in JSDOM.Types | |
IsGObject PromiseRejectionEvent Source # | |
Defined in JSDOM.Types |