Skip to content
Simple plugin for ripple effect, built using jQuery.
JavaScript
Branch: master
Clone or download
Latest commit acb28b9 Jan 31, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitIgnore --wip-- [skip ci] Jan 31, 2017
README.md Update README.md Jan 31, 2017
index.js --wip-- [skip ci] Jan 31, 2017
package.json --wip-- [skip ci] Jan 31, 2017
ripple-min.js --wip-- [skip ci] Jan 31, 2017

README.md

ripple-jQuery

Simple plugin for ripple effect, built using jQuery.

Demo

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()

You can’t perform that action at this time.