md-ripple
v0.1.0
Published
> Lightweight implementation of the Material Design ripple effect
Downloads
4
Readme
md-ripple
Lightweight implementation of the Material Design ripple effect
Usage
<div id="button" class="ripple-container">
<span>buttonLabel</span>
</div>
<script type="text/javascript">
const ripple = require('md-ripple');
const button = document.getElementById('button');
button.addEventListener('mousedown', ripple);
</script>
License
MIT © Iegor Azuaga