1.0.0 • Published 8 years ago

angular-disable-animate v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

angular-disable-animate

An Angular directive that disables ng-animate on selected elements.

In the past I have needed a way to easily disable Angular's $animate for a specific element. This tiny directive is the result of that need and the dislike for copy & pasting code across projects.

Further reading: $animate documentation

Installation

$ bower install angular-disable-animate --save
$ npm install angular-disable-animate --save

Or

Include the JavaScript file in the head of your document:

<script src="angular-disable-animate.js"></script>

Usage

Scripts

  • npm run build - produces production version of your library under the dist folder
  • npm run dev - produces development version of your library under the dist folder and runs a watcher