/angular-whimsical-ripple

Angular directive to create ripple effect

Primary LanguageJavaScriptMIT LicenseMIT

angular-whimsical-ripple is a Angular directive to create a ripple effect.

Preview

http://pioug.github.io/angular-whimsical-ripple

Usage

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

Browser compatibility

  • Chrome
  • Firefox
  • Safari 8