WebView.IsJavaScriptAlertEnabled Method

Definition

Returns a Boolean value that tells whether the web view allows JavaScript alerts.

public static bool IsJavaScriptAlertEnabled (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.WebView> config);
static member IsJavaScriptAlertEnabled : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.WebView> -> bool

Parameters

config
IPlatformElementConfiguration<Windows,WebView>

The platform configuration for the web view element whose JavaScript alert permissions to return.

Returns

System.Boolean

A Boolean value that tells whether the web view allows JavaScript alerts.

Applies to