編輯

共用方式為


WKUIDelegate.RunJavaScriptTextInputPanel Method

Definition

Shows a JavaScript text input box to the user.

[Foundation.Export("webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:completionHandler:")]
public virtual void RunJavaScriptTextInputPanel (WebKit.WKWebView webView, string prompt, string defaultText, WebKit.WKFrameInfo frame, Action<string> completionHandler);
abstract member RunJavaScriptTextInputPanel : WebKit.WKWebView * string * string * WebKit.WKFrameInfo * Action<string> -> unit
override this.RunJavaScriptTextInputPanel : WebKit.WKWebView * string * string * WebKit.WKFrameInfo * Action<string> -> unit

Parameters

webView
WKWebView
prompt
String
defaultText
String

To be added.

This parameter can be null.

frame
WKFrameInfo
completionHandler
Action<String>
Attributes

Applies to