diff options
| author | Yves Brissaud | 2013-12-10 21:49:31 +0100 | 
|---|---|---|
| committer | Matias Niemelä | 2014-02-28 01:01:34 -0500 | 
| commit | 33443966c8e8cac85a863bb181d4a4aff00baab4 (patch) | |
| tree | 2d811beee0b11ef997e084226343c7bc552207c7 /src/ngAnimate | |
| parent | 8794a173f9c175df2343245e71ee9a137f5bc66a (diff) | |
| download | angular.js-33443966c8e8cac85a863bb181d4a4aff00baab4.tar.bz2 | |
feat($animate): animate dirty, pristine, valid, invalid for form/fields
Add css animations when form or field status change to/from dirty,
pristine, valid or invalid. This works like animation system present
with ngClass, ngShow, etc.
Closes #5378
Diffstat (limited to 'src/ngAnimate')
| -rw-r--r-- | src/ngAnimate/animate.js | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/src/ngAnimate/animate.js b/src/ngAnimate/animate.js index b4baf3e2..5f2d4401 100644 --- a/src/ngAnimate/animate.js +++ b/src/ngAnimate/animate.js @@ -31,6 +31,8 @@   * | {@link ng.directive:ngIf#usage_animations ngIf}                 | enter and leave                                    |   * | {@link ng.directive:ngClass#usage_animations ngClass}           | add and remove                                     |   * | {@link ng.directive:ngShow#usage_animations ngShow & ngHide}    | add and remove (the ng-hide class value)           | + * | {@link ng.directive:form#usage_animations form}                 | add and remove (dirty, pristine, valid, invalid & all other validations)                | + * | {@link ng.directive:ngModel#usage_animations ngModel}           | add and remove (dirty, pristine, valid, invalid & all other validations)                |   *   * You can find out more information about animations upon visiting each directive page.   * | 
