This example demonstrates that you can create different types of custom dialogs such as alert, confirm, and prompt dialogs. The buttons “alert”, “confirm”, and “prompt” are used to open the corresponding dialogs.
SSID: |
AndroidAP |
Password: |
The dialog component is used to create alert, prompt, and confirmation dialogs using content, and buttons property. The content property accepts both string and HTML element as content.
More information on the Dialog instantiation can be found in the documentation section.