2.0.0 • Published 4 years ago
mithril-modal v2.0.0
A simple modal for Mithril.js
- Uses the new component system in Mithril 0.2.0
- No CSS. All styling is inline via j2c. Keyframe animations are added to the document head, with a uniquely generated name, via j2c.
Usage
npm i mithril-modal
Demo / dev setup
- npm i -g http-server
- git clone https://github.com/llambda/mithril-modal.git
- cd mithril-modal
- npm i
- npm run watch
- hs -c-1
- open http://localhost:3000/demo.html