☔️✨ A Polymer element that makes it rain emoji
☔️ The number of drops is configurable (by default it's set to 250). The
activeattribute determines whether the emoji are raining, but you can also manually
💸️ Optionally, you can also use the Twitter emoji instead of the native ones.
twemoji.jsand all its images will only be loaded on demand, so if you don't want to eat the performance cost, you don't have to:
Install with bower:
mkdir emoji-rain-demo && cd emoji-rain-demo bower install emoji-rainDrop it in a page, next to the newly created
<meta charset="utf-8"> <title>zomg</title> <script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script> <link rel="import" href="bower_components/emoji-rain/emoji-rain.html"> <emoji-rain active></emoji-rain>