rmodal
Version:
A simple modal dialog with no external dependencies. IE9+ supported.
55 lines (39 loc) • 1.38 kB
Markdown
[](https://www.npmjs.com/package/rmodal)
[](https://github.com/zewish/rmodal.js/actions?query=workflow%3Abuild)
[](https://coveralls.io/github/zewish/rmodal.js?branch=master)
[](https://david-dm.org/zewish/rmodal.js)
[](https://www.npmjs.com/package/rmodal)
1.2 KB modal dialog box, with no dependencies
[](https://rmodal.js.org)
- A simple and fast modal dialog
- Plain JavaScript only - no dependencies
- All browsers supported (IE10+)
- Less than 1.2 KB when gzipped and minified
- Bootstrap and Animate.css friendly
- Supports ES modules, CommonJS, AMD or globals
Demo
----
https://plnkr.co/edit/XXFKwHHcZD4Ecjh8twaW?p=preview
Documentation
-------------
https://rmodal.js.org/
Installation
------------
```
$ npm install rmodal --save
```
Development
-----------
```
$ npm install
```
Development: build
------------------
```
$ npm run build
```
Development: test
-----------------
```
$ npm run test
```