CoreWebView2ScriptDialogKind Enum

Specifies the JavaScript dialog type used in the CoreWebView2ScriptDialogOpeningEventArgs.

Name Value Description
Alert 0x0 Indicates that the dialog uses the window.alert JavaScript function.
Confirm 0x1 Indicates that the dialog uses the window.confirm JavaScript function.
Prompt 0x2 Indicates that the dialog uses the window.prompt JavaScript function.
Beforeunload 0x3 Indicates that the dialog uses the beforeunload JavaScript event.

Referenced by