Skip to content

Commit 0dce1cd

Browse files
committed
docs(ngAnimate): refactor of ngAnimate docs
`Which directives support animations?` section: Added info about ngAnimateSwap directive. Sorted table alphabetically, now it's the same order as appear in documentation's navigation. References angular#16561
1 parent 78b9f61 commit 0dce1cd

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

docs/content/guide/animations.ngdoc

+9-8
Original file line numberDiff line numberDiff line change
@@ -222,20 +222,21 @@ triggered:
222222

223223
| Directive | Supported Animations |
224224
|-------------------------------------------------------------------------------|---------------------------------------------------------------------------|
225-
| {@link ng.directive:ngRepeat#animations ngRepeat} | enter, leave, and move |
226-
| {@link ng.directive:ngIf#animations ngIf} | enter and leave |
227-
| {@link ng.directive:ngSwitch#animations ngSwitch} | enter and leave |
228-
| {@link ng.directive:ngInclude#animations ngInclude} | enter and leave |
229-
| {@link ngRoute.directive:ngView#animations ngView} | enter and leave |
230-
| {@link module:ngMessages#animations ngMessage / ngMessageExp} | enter and leave |
225+
| {@link ng.directive:form#animations form / ngForm} | add and remove ({@link ng.directive:form#css-classes various classes}) |
231226
| {@link ng.directive:ngClass#animations ngClass / {{class}​}} | add and remove |
232227
| {@link ng.directive:ngClassEven#animations ngClassEven} | add and remove |
233228
| {@link ng.directive:ngClassOdd#animations ngClassOdd} | add and remove |
234229
| {@link ng.directive:ngHide#animations ngHide} | add and remove (the `ng-hide` class) |
235-
| {@link ng.directive:ngShow#animations ngShow} | add and remove (the `ng-hide` class) |
230+
| {@link ng.directive:ngIf#animations ngIf} | enter and leave |
231+
| {@link ng.directive:ngInclude#animations ngInclude} | enter and leave |
236232
| {@link ng.directive:ngModel#animations ngModel} | add and remove ({@link ng.directive:ngModel#css-classes various classes}) |
237-
| {@link ng.directive:form#animations form / ngForm} | add and remove ({@link ng.directive:form#css-classes various classes}) |
233+
| {@link ng.directive:ngRepeat#animations ngRepeat} | enter, leave, and move |
234+
| {@link ng.directive:ngShow#animations ngShow} | add and remove (the `ng-hide` class) |
235+
| {@link ng.directive:ngSwitch#animations ngSwitch} | enter and leave |
236+
| {@link ngAnimate.directive:ngAnimateSwap#animations ngAnimateSwap} | enter and leave |
237+
| {@link module:ngMessages#animations ngMessage / ngMessageExp} | enter and leave |
238238
| {@link module:ngMessages#animations ngMessages} | add and remove (the `ng-active`/`ng-inactive` classes) |
239+
| {@link ngRoute.directive:ngView#animations ngView} | enter and leave |
239240

240241
For a full breakdown of the steps involved during each animation event, refer to the
241242
{@link ng.$animate API docs}.

0 commit comments

Comments
 (0)