Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit f18f3c2

Browse files
author
brettdewoody
committed
Cleanup of animation classes.
1 parent 0e00108 commit f18f3c2

File tree

6 files changed

+17
-13
lines changed

6 files changed

+17
-13
lines changed

src/ng/directive/ngClass.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ function classDirective(name, selector) {
148148
* new classes added.
149149
*
150150
* @animations
151-
* **add** - happens just before the class is applied to the elements
151+
* `.ng-add` - happens just before the class is applied to the elements
152152
*
153-
* **remove** - happens just before the class is removed from the element
153+
* `.ng-remove` - happens just before the class is removed from the element
154154
*
155155
* @element ANY
156156
* @param {expression} ngClass {@link guide/expression Expression} to eval. The result

src/ng/directive/ngIf.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@
3434
* and `leave` effects.
3535
*
3636
* @animations
37-
* enter - happens just after the `ngIf` contents change and a new DOM element is created and injected into the `ngIf` container
38-
* leave - happens just before the `ngIf` contents are removed from the DOM
37+
* `.ng-enter` - happens just after the `ngIf` contents change and a new DOM element is created and injected into the `ngIf` container
38+
*
39+
* `.ng-leave` - happens just before the `ngIf` contents are removed from the DOM
3940
*
4041
* @element ANY
4142
* @scope

src/ng/directive/ngInclude.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323
* access on some browsers.
2424
*
2525
* @animations
26-
* enter - animation is used to bring new content into the browser.
27-
* leave - animation is used to animate existing content away.
26+
* `.ng-enter` - animation is used to bring new content into the browser
27+
*
28+
* `.ng-leave` - animation is used to animate existing content away
2829
*
2930
* The enter and leave animation occur concurrently.
3031
*

src/ng/directive/ngRepeat.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,11 @@
152152
* as **data-ng-repeat-start**, **x-ng-repeat-start** and **ng:repeat-start**).
153153
*
154154
* @animations
155-
* **.enter** - when a new item is added to the list or when an item is revealed after a filter
155+
* `.ng-enter` - when a new item is added to the list or when an item is revealed after a filter
156156
*
157-
* **.leave** - when an item is removed from the list or when an item is filtered out
157+
* `.ng-leave` - when an item is removed from the list or when an item is filtered out
158158
*
159-
* **.move** - when an adjacent item is filtered out causing a reorder or when the item contents are reordered
159+
* `.ng-move` - when an adjacent item is filtered out causing a reorder or when the item contents are reordered
160160
*
161161
* @element ANY
162162
* @scope

src/ng/directive/ngSwitch.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
* </div>
2828
2929
* @animations
30-
* enter - happens after the ngSwitch contents change and the matched child element is placed inside the container
31-
* leave - happens just after the ngSwitch contents change and just before the former contents are removed from the DOM
30+
* `.ng-enter` - happens after the ngSwitch contents change and the matched child element is placed inside the container
31+
*
32+
* `.ng-leave` - happens just after the ngSwitch contents change and just before the former contents are removed from the DOM
3233
*
3334
* @usage
3435
*

src/ngRoute/directive/ngView.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ ngRouteModule.directive('ngView', ngViewFillContentFactory);
1919
* Requires the {@link ngRoute `ngRoute`} module to be installed.
2020
*
2121
* @animations
22-
* enter - animation is used to bring new content into the browser.
23-
* leave - animation is used to animate existing content away.
22+
* `.ng-enter` - animation is used to bring new content into the browser
23+
*
24+
* `.ng-leave` - animation is used to animate existing content away
2425
*
2526
* The enter and leave animation occur concurrently.
2627
*

0 commit comments

Comments
 (0)