0.1.0 • Published 8 years ago

md-ripple v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

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