This example demonstrates the different types of Dialogs like alert, confirm, and prompt. The buttons 'Alert', 'Confirm', and 'Prompt' are shown using DialogUtility

More Details...


The dialog component displays messages and collects user input within a web page. The following are the three types of Dialogs:

  • Alert - Used to show errors, warnings, and information that needs user awareness.
  • Confirmation - Used to get approval from user that appears before any critical action.
  • Prompt - Used to get input from the user.

More information on the Dialog instantiation can be found in the documentation section.