Extension of @luncheon/ripplet.js. Makes every element with the "ripple" attribute ripple!
I combined both ripplet.js and ripple.js into one file (r.js) to make everything easier:
<script src="r.js"></script>
<button ripple>Click Me</button>
Note: r-disabled.js
disables ripple on disabled buttons.
[NEW] Or use the CDN
<script src="https://cdn.jsdelivr.net/gh/fakerybakery/ripple.js/r.js"></script>
<script src="https://cdn.jsdelivr.net/gh/fakerybakery/ripple.js/r-disabled.js"></script>
<script src="ripplet.js"></script>
<script src="ripple.min.js"></script>
<button ripple>Click Me</button>
(If you're using The hard way): Make sure you've first included ripplet.js before including ripple.js!
(Modified) Unlicense. Changes: remove link to website, add optional attribution