UserPromptType Enum
The kind of a simple dialog (https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#simple-dialogs).
public enum UserPromptTypeFields
| Name | Value | Description |
|---|---|---|
Alert | 0 | A message, shown by alert(): the user can only acknowledge it. |
Confirm | 1 | A question, asked by confirm(): the user accepts (OK) or dismisses (Cancel) it. |
Prompt | 2 | A question, asked by prompt(): the user enters a text and accepts it, or dismisses the dialog. |
BeforeUnload | 3 | The confirmation of the unloading of a document whose beforeunload event is canceled (https://html.spec.whatwg.org/multipage/browsing-the-web.html#checking-if-unloading-is-canceled): the document is unloaded when the user accepts it, and the navigation or the closing is canceled when the user dismisses it. |