Skip to content

JsInvokableAction

Namespace: ThinkGeo.UI.Blazor

Represents a container which includes an JsInvokableAction.Invoke(String) method which can be invoked from JS code.

public class JsInvokableAction

Inheritance ObjectJsInvokableAction

Constructors

JsInvokableAction(Delegate)

Initializes a new instance of JsInvokableAction.

public JsInvokableAction(Delegate delegate)

Parameters

delegate Delegate
A delegate for JS callback.

Methods

Invoke(String)

Invokes the delegate for JS callback.

public object Invoke(string args)

Parameters

args String
The string value in json-formatted from the JS callback.

Returns

Object