From 33443966c8e8cac85a863bb181d4a4aff00baab4 Mon Sep 17 00:00:00 2001 From: Yves Brissaud Date: Tue, 10 Dec 2013 21:49:31 +0100 Subject: 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 --- src/ngAnimate/animate.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ngAnimate') 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. * -- cgit v1.2.3