Table of Contents

Enum CoreWebView2ScriptDialogKind

Namespace
Microsoft.Web.WebView2.Core
Assembly
Microsoft.Web.WebView2.Core.dll

Specifies the JavaScript dialog kind used in CoreWebView2ScriptDialogOpeningEventArgs.

public enum CoreWebView2ScriptDialogKind

Fields

Alert = 0

Indicates that the dialog uses window.alert JavaScript function.

Beforeunload = 3

Indicates that the dialog uses window.beforeunload JavaScript event.

Confirm = 1

Indicates that the dialog uses window.confirm JavaScript function.

Prompt = 2

Indicates that the dialog uses window.prompt JavaScript function.