angular-whimsical-ripple is a Angular directive to create a ripple effect.
http://pioug.github.io/angular-whimsical-ripple
- Install package via
bower
:
bower install --save angular-whimsical-ripple
- Embed the script in your HTML file:
<script src="whimsicalRipple.js"></script>
- Load
whimsicalRipple
as a module dependency of your Angular application:
angular.module('demoRipple', ['whimsicalRipple']);
- Use the HTML class
ripple
(andripple-light
) to create a ripple effect on a clickable element:
<a class="ripple">Link #1</a>
<a class="ripple ripple-light">Link #2</a>
- Chrome
- Firefox
- Safari 8