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

HtmlHelperBase<(Of <(<'TModel>)>)>..::..JsFunction Method (String, JsStatements)

JavaScript function name() with given statements

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

Syntax


public static JsFun JsFunction(
	string fnName,
	JsStatements statements
)

Parameters

fnName
Type: String
statements
Type: Suoranta.WebApp.View.JS..::..JsStatements

Return Value

Full JavaScript function definition