A simple Polymer element of a button with physics
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
elements
LICENSE
README.md
bower.json
index.html

README.md

button-spring

A simple Polymer element of a bouncing button

Usage

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>

Demo

http://urucas.github.io/button-spring/

Link

This bouncing button polymer elements works thanks to Impulse, check their source code here: https://github.com/luster-io/impulse