toasty
Make the Mortal Kombat toasty guy pop out on your site.
Installation
$ npm install toasty
Usage
Show toasty guy when a certain element is clicked:
JS:
; ;
HTML:
Click me!
or just trigger it directly:
; let t = ;t;
Example
Generate an example in example/dist
:
$ npm run example
Standalone
Generate a standalone build in dist
(for use with <script>
tags and AMD module loaders):
$ npm run build:standalone
Test
Run tests with karma and mocha:
$ npm test
License
MIT