Material design click animation. Done with svg and Velocity.js
.
Very lightweight if Velocity.js
is present.
npm install --save-dev vue-comps-waves
or include build/bundle.js
.
components:
waves: require("vue-comps-waves")
# or with bundle.js
waves: window.vueComps.waves
]
<button>Click me!
<waves></waves>
</button>
For examples see dev/
.
Name | type | default | description |
---|---|---|---|
color | String | "black" | color of the effect |
speed | Number | 1 | speed of the effect |
Clone repository
npm install
npm run dev
Browse to http://localhost:8080/
.
- 1.0.0
Usage changes to attach to parent instead of being the parent.
Copyright (c) 2016 Paul Pflugradt Licensed under the MIT license.