2.0.0 • Published 4 years ago

mithril-modal v2.0.0

Weekly downloads
5
License
ISC
Repository
github
Last release
4 years ago

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

  1. npm i -g http-server
  2. git clone https://github.com/llambda/mithril-modal.git
  3. cd mithril-modal
  4. npm i
  5. npm run watch
  6. hs -c-1
  7. open http://localhost:3000/demo.html
2.0.0

4 years ago

1.0.0

7 years ago

0.0.1

8 years ago