6.0.3 • Published 9 years ago

toasty v6.0.3

Weekly downloads
31
License
MIT
Repository
github
Last release
9 years ago

toasty

Make the Mortal Kombat toasty guy pop out on your site.

Circle CI Coverage Status See Demo

Installation

$ npm install toasty

Usage

Show toasty guy when a certain element is clicked:

JS:

import toasty from 'toasty';

toasty('.toasty');

HTML:

<button class="toasty">Click me!</button>

or just trigger it directly:

import toasty from 'toasty';

let t = toasty();
t.trigger();

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

6.0.3

9 years ago

6.0.2

9 years ago

6.0.1

9 years ago

6.0.0

9 years ago

5.3.4

9 years ago

5.3.3

9 years ago

5.3.2

9 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

12 years ago

0.0.1

12 years ago