servant-js-0.8: Automatically derive javascript functions to query servant webservices.

Safe HaskellNone
LanguageHaskell2010

Servant.JS.JQuery

Synopsis

Documentation

jquery :: JavaScriptGenerator Source #

Generate javascript functions that use the jQuery library to make the AJAX calls. Uses defCommonGeneratorOptions for the generator options.

jqueryWith :: CommonGeneratorOptions -> JavaScriptGenerator Source #

Generate javascript functions that use the jQuery library to make the AJAX calls. Lets you specify your own CommonGeneratorOptions.

generateJQueryJS :: AjaxReq -> Text Source #

js codegen using JQuery using default options