COREWEBVIEW2_SCRIPT_DIALOG_KIND_ALERT

Specifies the JavaScript dialog type used in the ICoreWebView2ScriptDialogOpeningEventHandler interface.

Values

ValueMeaning
COREWEBVIEW2_SCRIPT_DIALOG_KIND_ALERT

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

COREWEBVIEW2_SCRIPT_DIALOG_KIND_CONFIRM

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

COREWEBVIEW2_SCRIPT_DIALOG_KIND_PROMPT

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

COREWEBVIEW2_SCRIPT_DIALOG_KIND_BEFOREUNLOAD

Indicates that the dialog uses the beforeunload JavaScript event.

Meta