This application demonstrates various dialog types using SweetAlert2.
-
Clone the repository:
git clone https://github.com/codecaine-zz/simple_dialogs.git
-
Navigate to the project directory:
cd simple_dialogs
-
Open
index.html
in your web browser.
Click the buttons to trigger different dialogs:
- Show Alert: Displays an alert dialog.
- Show Input: Displays an input dialog.
- Show Confirmation: Displays a confirmation dialog.
- Show Toast: Displays a toast notification.
- Show Textarea Input: Displays a textarea input dialog.
- Run Dialog Tests: Runs a series of dialog tests.
Modify the dialogs.js
file to customize the dialogs.