Aracılığıyla paylaş


CoreWebView2ScriptDialogKind Enum

Definition

Specifies the JavaScript dialog type used in the ICoreWebView2ScriptDialogOpeningEventHandler interface.

public enum CoreWebView2ScriptDialogKind
type CoreWebView2ScriptDialogKind = 
Public Enum CoreWebView2ScriptDialogKind
Inheritance
CoreWebView2ScriptDialogKind

Fields

Name Value Description
Alert 0

Indicates that the dialog uses the window.alert JavaScript function.

Confirm 1

Indicates that the dialog uses the window.confirm JavaScript function.

Prompt 2

Indicates that the dialog uses the window.prompt JavaScript function.

Beforeunload 3

Indicates that the dialog uses the beforeunload JavaScript event.

Applies to