0.0.5 • Published 4 years ago

vanilla-dialog v0.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

The aim of this library is to easily introduce a minimalistic modal dialog. It is a library of only about 16KB.

Demo and documentation

 

Features

✔ Toggles open attributes on open and close

✔ Closes dialog on overlay click

✔ Traps tab focus within the dialog (Dependent on focus-trap)

✔ Lock the scrolling outside the dialog (Dependent on body-scroll-lock)

✔ Supported for IE11+

 

Install

via npm

npm install vanilla-dialog --save

via CDN direct link

<script src="https://cdn.jsdelivr.net/npm/vanilla-dialog/dist/vanilla-dialog.min.js"></script>

direct download

curl -o https://cdn.jsdelivr.net/npm/vanilla-dialog/dist/vanilla-dialog.min.js

 

Changelog

Refer to the releases page.

 

Contribution

  1. Fork the repository on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

 

Licence

This project is licensed under MIT license.

 

Created and maintained by

@ohnaka0410 🇯🇵

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago