0.2.0 • Published 6 years ago

dograin v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

DogRain

For when your site simply must rain random images of dogs every now and then. This project was made possible by PlaceDog.net!

Basic Usage

Include DogRain script in your footer and add the dograin class to any element that you'd like to trigger the puppers.

<!-- Add `dograin` class to element -->
<button type="button" class="dograin">Bring on the Dogs</button>

<!-- Include DogRain script -->
<script src="/path/to/dograin/dist/dograin.js"></script>

Library Usage

You can use DogRain in your ES6+ scripts like the following:

import DogRain from 'dograin'

const dogRain = new DogRain()

// Bring on the Dogs
dogRain.start()

// Back to normal
dogRain.stop()
0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago