An open API service indexing awesome lists of open source software.

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

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.