Share via


WebView.GetJavaScriptEnabled(WebView) Method

Definition

Gets the value of the JavaScriptEnabled property for the specified WebView.

public:
 static bool GetJavaScriptEnabled(Microsoft::Maui::Controls::WebView ^ element);
public static bool GetJavaScriptEnabled(Microsoft.Maui.Controls.WebView element);
static member GetJavaScriptEnabled : Microsoft.Maui.Controls.WebView -> bool
Public Function GetJavaScriptEnabled (element As WebView) As Boolean

Parameters

element
WebView

The WebView from which to read the property value.

Returns

A boolean value indicating whether JavaScript is enabled.

Applies to