共用方式為


WKUIDelegate_Extensions.RunJavaScriptConfirmPanel 方法

定義

向使用者顯示 JavaScript 確認對話方塊。

public static void RunJavaScriptConfirmPanel (this WebKit.IWKUIDelegate This, WebKit.WKWebView webView, string message, WebKit.WKFrameInfo frame, Action<bool> completionHandler);
static member RunJavaScriptConfirmPanel : WebKit.IWKUIDelegate * WebKit.WKWebView * string * WebKit.WKFrameInfo * Action<bool> -> unit

參數

This
IWKUIDelegate

這個擴充方法運作所在的 實例。

webView
WKWebView
message
String
frame
WKFrameInfo
completionHandler
Action<Boolean>

適用於