Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype FormData = FormData {
- unFormData :: JSVal
- gTypeFormData :: JSM GType
- append :: (MonadDOM m, ToJSString name, ToJSString value) => FormData -> name -> value -> m ()
- appendBlob :: (MonadDOM m, ToJSString name, IsBlob value, ToJSString filename) => FormData -> name -> value -> Maybe filename -> m ()
- newFormData :: MonadDOM m => Maybe HTMLFormElement -> m FormData
Documentation
Functions for this inteface are in JSDOM.FormData.
Instances
PToJSVal FormData Source # | |
Defined in JSDOM.Types | |
PFromJSVal FormData Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> FormData # | |
ToJSVal FormData Source # | |
FromJSVal FormData Source # | |
MakeObject FormData Source # | |
Defined in JSDOM.Types makeObject :: FormData -> JSM Object # | |
IsXMLHttpRequestBody FormData Source # | |
Defined in JSDOM.Types | |
IsCredentialBodyType FormData Source # | |
Defined in JSDOM.Types | |
IsBodyInit FormData Source # | |
Defined in JSDOM.Types | |
IsGObject FormData Source # | |
Defined in JSDOM.Types |
gTypeFormData :: JSM GType Source #
append :: (MonadDOM m, ToJSString name, ToJSString value) => FormData -> name -> value -> m () Source #
appendBlob :: (MonadDOM m, ToJSString name, IsBlob value, ToJSString filename) => FormData -> name -> value -> Maybe filename -> m () Source #