angular-disable-animate

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i angular-disable-animate

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • benjamincharity