Skip to content

mbykovskyy/bounce-in-animation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bounce-in-animation

Polymer web component for a bounce in effect.

Install

bower install --save mbykovskyy/bounce-in-animation

Usage

<link rel="import" href="bounce-in-animation.html">

<div id="box"></div>
<bounce-in-animation id="bounce-in" duration="500" easing="ease-out"></bounce-in-animation>

<script>
  document.addEventListener('polymer-ready', function() {
    var animation = document.getElementById('bounce-in');
    animation.target = document.getElementById('box');
    animation.play();
  });
</script>

See component page for details and demo.

About

A Polymer web component for bounce in animation effect.

Resources

License

Stars

Watchers

Forks

Packages

No packages published