https://github.com/codecaine-zz/simple_dialogs
Simple Dialogs for the web browser
https://github.com/codecaine-zz/simple_dialogs
alerts css dialogs html inputs javascript sweetalert2 textarea
Last synced: 7 months ago
JSON representation
Simple Dialogs for the web browser
- Host: GitHub
- URL: https://github.com/codecaine-zz/simple_dialogs
- Owner: codecaine-zz
- Created: 2024-12-01T16:39:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-01T16:51:11.000Z (about 1 year ago)
- Last Synced: 2025-04-02T20:27:03.563Z (11 months ago)
- Topics: alerts, css, dialogs, html, inputs, javascript, sweetalert2, textarea
- Language: JavaScript
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Simple Dialogs Application
This application demonstrates various dialog types using SweetAlert2.
## Installation
1. Clone the repository:
```sh
git clone https://github.com/codecaine-zz/simple_dialogs.git
```
2. Navigate to the project directory:
```sh
cd simple_dialogs
```
3. Open `index.html` in your web browser.
## Usage
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.
## Customization
Modify the `dialogs.js` file to customize the dialogs.