ng-scratch-off

An AngularJS module that provides a CSS based scratch off card.

Module License: MIT

Added by: Sam Deering

GitHub

Repository

shoppinpal/ng-scratch-off

Stats

Stars: 3

Watchers: 3

Forks: 1

Author

ShoppinPal
ShoppinPal

Module Description

Angular Scratch Off Directive

An angular directive to create CSS based scratch off elements.

Download

Grab the latest release from here.

Usage

Include ng-scratch-off.min.js before your app's script file.

<script src="angular.js" type="text/javascript"></script>
<script src="ng-scratch-off.min.js" type="text/javascript"></script>
<script src="your-app.js" type="text/javascript"></script>

Add shoppinpal.scratch-off as a dependency for your app.

angular.module('your-app', ['shoppinpal.scratch-off']);

Then use it as an element, attribute or class and specify a width and height.

<div class="scratch-off"></div>

Module stats last updated: 2015-06-04 11:09:23

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!