Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newFormData :: MonadDOM m => Maybe HTMLFormElement -> m FormData
- 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 ()
- newtype FormData = FormData {
- unFormData :: JSVal
- gTypeFormData :: JSM GType
Documentation
newFormData :: MonadDOM m => Maybe HTMLFormElement -> m FormData 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 #
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 #