Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newCloseEvent :: (MonadDOM m, ToJSString type') => type' -> Maybe CloseEventInit -> m CloseEvent
- getWasClean :: MonadDOM m => CloseEvent -> m Bool
- getCode :: MonadDOM m => CloseEvent -> m Word
- getReason :: (MonadDOM m, FromJSString result) => CloseEvent -> m result
- newtype CloseEvent = CloseEvent {}
- gTypeCloseEvent :: JSM GType
Documentation
newCloseEvent :: (MonadDOM m, ToJSString type') => type' -> Maybe CloseEventInit -> m CloseEvent Source #
getReason :: (MonadDOM m, FromJSString result) => CloseEvent -> m result Source #
newtype CloseEvent Source #
Functions for this inteface are in JSDOM.CloseEvent. Base interface functions are in:
Instances
PToJSVal CloseEvent Source # | |
Defined in JSDOM.Types pToJSVal :: CloseEvent -> JSVal # | |
PFromJSVal CloseEvent Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> CloseEvent # | |
ToJSVal CloseEvent Source # | |
Defined in JSDOM.Types toJSVal :: CloseEvent -> JSM JSVal # toJSValListOf :: [CloseEvent] -> JSM JSVal # | |
FromJSVal CloseEvent Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe CloseEvent) # fromJSValUnchecked :: JSVal -> JSM CloseEvent # fromJSValListOf :: JSVal -> JSM (Maybe [CloseEvent]) # fromJSValUncheckedListOf :: JSVal -> JSM [CloseEvent] # | |
MakeObject CloseEvent Source # | |
Defined in JSDOM.Types makeObject :: CloseEvent -> JSM Object # | |
IsEvent CloseEvent Source # | |
Defined in JSDOM.Types | |
IsGObject CloseEvent Source # | |
Defined in JSDOM.Types typeGType :: CloseEvent -> JSM GType |