A simple Polymer element of a bouncing button
A simple Polymer element of a bouncing button
Import polymer element into yor html
<link rel="import" href="/elements/button-spring.html">
Insert the webcomponent on your page,
<button-spring class="myButton" value="Aceptar" onclick="console.log('button-spring pressed')"></button-spring>
This bouncing button polymer elements works thanks to Impulse, check their source code here: https://github.com/luster-io/impulse