MODI

Quick start

Flexible and configurable modals. They don’t make you the food.

Installation

Browser

<script src="/path/to/modi.min.js"></script>

unpkg CDN:

//unpkg.com/@circunspecter/modi@latest/dist/modi.min.js

npm

npm install @circunspecter/modi

It’s also necessary to add the styles. You can take a look under templates folder. Templates examples: default, actions, notification.

Usage

var modal = new Modi({ content: 'Hi world!' });