https://github.com/circunspecter/modi
Flexible and configurable modals. They don’t make you the food.
https://github.com/circunspecter/modi
javascript modal modal-dialogs
Last synced: about 1 year ago
JSON representation
Flexible and configurable modals. They don’t make you the food.
- Host: GitHub
- URL: https://github.com/circunspecter/modi
- Owner: circunspecter
- License: mit
- Created: 2017-11-18T18:05:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-09T16:42:34.000Z (over 8 years ago)
- Last Synced: 2025-04-29T15:39:25.899Z (about 1 year ago)
- Topics: javascript, modal, modal-dialogs
- Language: JavaScript
- Homepage: https://circunspecter.github.io/modi/
- Size: 151 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/circunspecter/modi)
[](https://coveralls.io/github/circunspecter/modi?branch=master)
# Modi
Flexible and configurable modals.
[Documentation and examples](https://circunspecter.github.io/modi/ "Documentation and examples")
### Installation
#### Browser
```html
```
[unpkg CDN](https://unpkg.com "unpkg"):
```html
//unpkg.com/@circunspecter/modi@latest/dist/modi.min.js
```
#### npm
```shell
npm install @circunspecter/modi
```
### Basic usage
```js
var modal = new Modi({ content: 'Hi world!' });
modal.show();
```