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