IWebView.EvaluateJavaScriptAsync(String) Method

Definition

On platforms that support JavaScript evaluation, evaluates script.

public System.Threading.Tasks.Task<string> EvaluateJavaScriptAsync(string script);

Parameters

script
String

The script to evaluate.

Returns

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

Applies to

Product Versions
.NET MAUI 8, 9, 10