javaScriptEnabled property
Set to true
to enable JavaScript. The default value is true
.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - WebSettings.setJavaScriptEnabled)
- iOS (Official API - WKWebpagePreferences.allowsContentJavaScript)
- MacOS (Official API - WKWebpagePreferences.allowsContentJavaScript)
- Web
- Windows (Official API - ICoreWebView2Settings.put_IsScriptEnabled)
Implementation
bool? javaScriptEnabled;