Share via


WKUIDelegate.RunJavaScriptAlertPanel Method

Definition

Shows a JavaScript alert to the user.

[Foundation.Export("webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void RunJavaScriptAlertPanel(WebKit.WKWebView webView, string message, WebKit.WKFrameInfo frame, Action completionHandler);
[<Foundation.Export("webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RunJavaScriptAlertPanel : WebKit.WKWebView * string * WebKit.WKFrameInfo * Action -> unit
override this.RunJavaScriptAlertPanel : WebKit.WKWebView * string * WebKit.WKFrameInfo * Action -> unit

Parameters

webView
WKWebView
message
String
frame
WKFrameInfo
completionHandler
Action

Implements

Attributes

Applies to