Quantcast
Channel: Jeff Matson – Jeff Matson
Viewing all articles
Browse latest Browse all 32

Pure JavaScript Modals via Tingle.js

$
0
0

I came across this one today, thanks to my friend David Bisset (seriously, follow him on Twitter. He’s full of awesome resources).

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

Links

Site/Demo

GitHub

 


Viewing all articles
Browse latest Browse all 32

Trending Articles