0.0.5 • Published 5 years ago
rippuru v0.0.5
rippuru
ripple plugin for vue.js.
Install
npm i rippuru
Demo
clone this repository and npm i && npm run serve
.
How to use
register plugin.
import Vue from 'vue'
import Rippuru from 'rippuru'
Vue.use(Rippuru)
use directive.
by default, ripple color depends on color of bound element.
<button v-rippuru>
hoge
</button>
you can change ripple color by specifying directive arg.
<button v-rippuru:red>
hoge
</button>