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

Dom<(Of <(<'TPageModel>)>)>..::..ActionParam<(Of <(<'TController, TParam>)>)> Method (Expression<(Of <(<'Func<(Of <(<'TController, ControllerAction<(Of <(<'TParam>)>)>>)>)>>)>)>, 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, TParam>(
	Expression<Func<TController, ControllerAction<TParam>>> selector,
	Dom..::..Element bindTo
)
where TController : Controller, Controller

Type Parameters

TController
TParam

Parameters

selector
Type: Expression<(Of <(<'Func<(Of <(<'TController, ControllerAction<(Of <(<'TParam>)>)>>)>)>>)>)>
bindTo
Type: Suoranta.WebApp.View..::..Dom..::..Element
HTML element from which the function retrieves the value

Return Value

Name of the added JS function