Share via


WebView.SetIsJavaScriptAlertEnabled 메서드

정의

오버로드

SetIsJavaScriptAlertEnabled(BindableObject, Boolean)

웹 보기에서 JavaScript 경고를 허용하는지 여부를 나타내는 부울 값을 설정합니다.

SetIsJavaScriptAlertEnabled(IPlatformElementConfiguration<Windows,WebView>, Boolean)

웹 보기에서 JavaScript 경고를 허용하는지 여부를 나타내는 부울 값을 설정합니다.

SetIsJavaScriptAlertEnabled(BindableObject, Boolean)

웹 보기에서 JavaScript 경고를 허용하는지 여부를 나타내는 부울 값을 설정합니다.

public static void SetIsJavaScriptAlertEnabled (Xamarin.Forms.BindableObject element, bool value);
static member SetIsJavaScriptAlertEnabled : Xamarin.Forms.BindableObject * bool -> unit

매개 변수

element
BindableObject

JavaScript 경고 권한을 설정할 웹 보기 요소입니다.

value
System.Boolean

JavaScript 경고를 허용하려면 를 선택합니다. 그렇지 않으면 false입니다.

적용 대상

SetIsJavaScriptAlertEnabled(IPlatformElementConfiguration<Windows,WebView>, Boolean)

웹 보기에서 JavaScript 경고를 허용하는지 여부를 나타내는 부울 값을 설정합니다.

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

매개 변수

config
IPlatformElementConfiguration<Windows,WebView>

JavaScript 경고 권한을 설정할 웹 보기 요소에 대한 플랫폼 구성입니다.

value
System.Boolean

JavaScript 경고를 허용하려면 를 선택합니다. 그렇지 않으면 false입니다.

반환

개발자가 추가 메서드 호출을 수행할 수 있는 유연한 개체입니다.

적용 대상