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