WebView.IsJavaScriptEnabled 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.
Determines whether JavaScript is enabled for the specified Android platform configuration.
public:
[System::Runtime::CompilerServices::Extension]
static bool IsJavaScriptEnabled(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::WebView ^> ^ config);
public static bool IsJavaScriptEnabled(this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.WebView> config);
static member IsJavaScriptEnabled : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.WebView> -> bool
<Extension()>
Public Function IsJavaScriptEnabled (config As IPlatformElementConfiguration(Of Android, WebView)) As Boolean
Parameters
The platform configuration to check.
Returns
A boolean value indicating whether JavaScript is enabled.