ripple-jquery
v1.0.3
Published
plugin for ripple using jquery
Downloads
11
Maintainers
Readme
ripple-jQuery
Simple plugin for ripple effect, built using jQuery.
Install
npm install ripple-jquery --save
Usage
require('ripple-jQuery')
const options = {
bgColor: 'mistyrose', //default is rgba(0,0,0,0.2),
time: 1000 //default is 500
}
$(selector).ripple(options);
To disable
ripple, do following
$(selector).disableRipple()
To re-enable
ripple after being disabled, do following
$(selector).enableRipple()