GithubHelp home page GithubHelp logo

undeadinu / emoji-rain Goto Github PK

View Code? Open in Web Editor NEW

This project forked from notwaldorf/emoji-rain

0.0 0.0 0.0 4.07 MB

☔️✨ A Polymer element that makes it rain emoji

Home Page: http://meowni.ca/emoji-rain

License: MIT License

Shell 7.55% HTML 92.45%

emoji-rain's Introduction

✨ emoji-rain ✨

<emoji-rain> is a Polymer element that makes it rain emoji on any page. Because it can.

emoji rain

☔️ The number of drops is configurable (by default it's set to 250). The active attribute determines whether the emoji are raining, but you can also manually start() and stop() the rain.

Example:

<emoji-rain drops="50" active></emoji-rain>

💸️ Optionally, you can also use the Twitter emoji instead of the native ones. twemoji.js and 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:

  <emoji-rain use-twemoji></emoji-rain>

Usage

Install with bower:

mkdir emoji-rain-demo && cd emoji-rain-demo
bower install emoji-rain

Drop it in a page, next to the newly created bower_components folder:

<!doctype html>
<html>
  <head>
    <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">
  </head>
  <body>
    <emoji-rain active></emoji-rain>
  </body>
</html>

✨☔😹

emoji-rain's People

Contributors

mikeperret avatar mlr avatar notwaldorf avatar samuelli avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.