Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 936 Bytes

README.md

File metadata and controls

54 lines (41 loc) · 936 Bytes

vue-comps-waves

Material design click animation. Done with svg and Velocity.js. Very lightweight if Velocity.js is present.

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.