WebView.EvaluateJavaScriptAsync(String) Method

Definition

On platforms that support JavaScript evaluation, evaluates script.

public System.Threading.Tasks.Task<string> EvaluateJavaScriptAsync (string script);
member this.EvaluateJavaScriptAsync : string -> System.Threading.Tasks.Task<string>

Parameters

script
System.String

The script to evaluate.

Returns

System.Threading.Tasks.Task<System.String>

A task that contains the result of the evaluation as a string.

Remarks

Native JavaScript evaluation is supported neither on Tizen nor GTK (Linux).

Applies to