WebView.JavaScriptEnabled 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.
Sets whether JavaScript is enabled for the specified Android platform configuration.
public:
[System::Runtime::CompilerServices::Extension]
static void JavaScriptEnabled(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::WebView ^> ^ config, bool value);
public static void JavaScriptEnabled(this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.WebView> config, bool value);
static member JavaScriptEnabled : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.WebView> * bool -> unit
<Extension()>
Public Sub JavaScriptEnabled (config As IPlatformElementConfiguration(Of Android, WebView), value As Boolean)
Parameters
The platform configuration to which this method applies.
- value
- Boolean
The boolean value indicating whether JavaScript should be enabled.