MonoWebAssemblyJSRuntime.InvokeJS(String, String) Method

Definition

Performs a synchronous function invocation.

protected:
 override System::String ^ InvokeJS(System::String ^ identifier, System::String ^ argsJson);
protected override string InvokeJS (string identifier, string argsJson);
override this.InvokeJS : string * string -> string
Protected Overrides Function InvokeJS (identifier As String, argsJson As String) As String

Parameters

identifier
String

The identifier for the function to invoke.

argsJson
String

A JSON representation of the arguments.

Returns

A JSON representation of the result.

Applies to