Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benjamincharity/angular-disable-animate
:no_entry_sign: An AngularJS directive that disables ng-animate on selected elements.
https://github.com/benjamincharity/angular-disable-animate
angularjs disable-animate
Last synced: 28 days ago
JSON representation
:no_entry_sign: An AngularJS directive that disables ng-animate on selected elements.
- Host: GitHub
- URL: https://github.com/benjamincharity/angular-disable-animate
- Owner: benjamincharity
- License: mit
- Created: 2016-04-04T17:45:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-07T14:37:11.000Z (over 8 years ago)
- Last Synced: 2024-09-27T09:29:22.922Z (about 1 month ago)
- Topics: angularjs, disable-animate
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# angular-disable-animate
> An Angular directive that disables ng-animate.
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][animate_docs]
- - -
_[Comments and pull requests welcome!][issues]_
## Installation
```bash
$ bower install angular-disable-animate --save
$ npm install angular-disable-animate --save
```Or
Include the JavaScript file in the head of your document:
```html
```
## Usage
Include the module as a dependency of your application:
```javascript
angular.module('myModule', ['bc.AngularDisableAnimate']);
```Use directive as an attribute:
```html
Foo
```### Scripts
* `npm run build` - produces production version of your library under the `dist` folder
* `npm run watch` - produces development version of your library under the `dist` folder and runs a
watcher[animate_docs]: https://docs.angularjs.org/api/ng/service/$animate
[issues]: https://github.com/benjamincharity/angular-disable-animate/issues