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 thedist
foldernpm run dev
- produces development version of your library under thedist
folder and runs a watcher