WebView.GetJavaScriptEnabled(WebView) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.