I came across this one today, thanks to my friend David Bisset (seriously, follow him on Twitter. He’s full of awesome resources).
Need a simple modal plugin written in pure #JavaScript? Tingle might be worth a look: https://t.co/7ICkXeqYnj
— David Bisset (@dimensionmedia) January 5, 2017
Tingle is a pure JavaScript library that makes modals super easy to create, but without sacrificing features. Create a model for your modal (yeah, that was intentional), set the content, and and handle the rest with their API. Because this is pure JavaScript and includes a dead-simple API, the modal can be manipulated insanely easily, but without the overhead of other dependencies such as jQuery.
For people like me who are terrible when it comes to design, it also comes with a few button classes. Don’t need the styling? Just don’t use the CSS file. Simple as that.
Not only is it full-featured and so easy that my technologically-impaired mother-in-law could use it, it’s tiny as well. Weighing in at 6.12KB, it’s hardly noticeable in terms of added page size. Since you don’t have to rely on other libraries either, there isn’t any added bulk or extra maintenance to deal with.
Check it out. I dig it.
Installation
- Bower
bower install tingle --save
- NPM
npm install tingle.js --save
- Manual Install
https://github.com/robinparisi/tingle/archive/master.zip
Links