md-ripple
0.1.0 • Public • Published 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
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.1.0
0
Version History
- VersionDownloads (Last 7 Days)
- 0.1.0
0
Package Sidebar
Install
Weekly Downloads