You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
* | 1. $animate.animate(...) is called | class="my-animation" |
853
+
* | 2. $animate waits for the next digest to start the animation | class="my-animation ng-animate" |
854
+
* | 3. $animate runs the JavaScript-defined animations detected on the element | class="my-animation ng-animate" |
855
+
* | 4. the className class value is added to the element | class="my-animation ng-animate className" |
856
+
* | 5. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate className" |
857
+
* | 6. $animate blocks all CSS transitions on the element to ensure the .className class styling is applied right away| class="my-animation ng-animate className" |
858
+
* | 7. $animate applies the provided collection of `from` CSS styles to the element | class="my-animation ng-animate className" |
859
+
* | 8. $animate waits for a single animation frame (this performs a reflow) | class="my-animation ng-animate className" |
860
+
* | 9. $animate removes the CSS transition block placed on the element | class="my-animation ng-animate className" |
861
+
* | 10. the className-active class is added (this triggers the CSS transition/animation) | class="my-animation ng-animate className className-active" |
862
+
* | 11. $animate applies the collection of `to` CSS styles to the element which are then handled by the transition | class="my-animation ng-animate className className-active" |
863
+
* | 12. $animate waits for the animation to complete (via events and timeout) | class="my-animation ng-animate className className-active" |
864
+
* | 13. The animation ends and all generated CSS classes are removed from the element | class="my-animation" |
865
+
* | 14. The returned promise is resolved. | class="my-animation" |
866
+
*
867
+
* @param {DOMElement} element the element that will be the focus of the enter animation
868
+
* @param {object} from a collection of CSS styles that will be applied to the element at the start of the animation
869
+
* @param {object} to a collection of CSS styles that the element will animate towards
870
+
* @param {string=} className an optional CSS class that will be added to the element for the duration of the animation (the default class is `ng-inline-animate`)
871
+
* @param {object=} options an optional collection of options that will be picked up by the CSS transition/animation
872
+
* @return {Promise} the animation callback promise
0 commit comments