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

Dom<(Of <(<'TPageModel>)>)>..::..ActionParam<(Of <(<'TController>)>)> Method (ControllerAction, Element)

Add on the page JavaScript that returns JS object containing POST parameters for controller action

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

Syntax


public Symbol ActionParam<TController>(
	ControllerAction selector,
	Dom..::..Element bindTo
)
where TController : Controller, Controller

Type Parameters

TController

Parameters

selector
Type: Suoranta.WebApp.Types..::..ControllerAction
bindTo
Type: Suoranta.WebApp.View..::..Dom..::..Element
HTML element from which the function retrieves the value

Return Value

Name of the added JS function