Suoranta.WebApp.Types Namespace
Suoranta.WebApp - Developer API

JsAjaxStatement Constructor (JsExpression, JsObjectExpression, JsFun, Symbol)

Initializes a new instance of the JsAjaxStatement class.

Namespace:  Suoranta.WebApp.View.JS
Assembly:  Suoranta.WebApp (in Suoranta.WebApp.dll)

Syntax


public JsAjaxStatement(
	JsExpression endpoint,
	JsObjectExpression ajaxData,
	JsFun successFn,
	Symbol errorFn
)

Parameters

endpoint
Type: Suoranta.WebApp.View.JS..::..JsExpression
JsExpression that evaluates to the endpoint URL.
ajaxData
Type: Suoranta.WebApp.View.JS..::..JsObjectExpression
The ajax data.
successFn
Type: Suoranta.WebApp.View.JS..::..JsFun
The success function.
errorFn
Type: Suoranta.WebApp.Types..::..Symbol
The error function.