Safe Haskell | None |
---|---|
Language | Haskell2010 |
- vanillaJS :: JavaScriptGenerator
- vanillaJSWith :: CommonGeneratorOptions -> JavaScriptGenerator
- generateVanillaJS :: AjaxReq -> Text
- generateVanillaJSWith :: CommonGeneratorOptions -> AjaxReq -> Text
Documentation
vanillaJS :: JavaScriptGenerator
Generate vanilla javascript functions to make AJAX requests
to your API, using XMLHttpRequest. Uses defCommonGeneratorOptions
for the CommonGeneratorOptions
.
vanillaJSWith :: CommonGeneratorOptions -> JavaScriptGenerator
Generate vanilla javascript functions to make AJAX requests to your API, using XMLHttpRequest. Lets you specify your own options.
generateVanillaJS :: AjaxReq -> Text
js codegen using XmlHttpRequest using default generation options
generateVanillaJSWith :: CommonGeneratorOptions -> AjaxReq -> Text
js codegen using XmlHttpRequest