We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bb4d6c commit 9804867Copy full SHA for 9804867
docs/content/error/$animate/nocb.ngdoc
@@ -0,0 +1,12 @@
1
+@ngdoc error
2
+@name $animate:nocb
3
+@fullName Do not pass a callback to animate methods
4
+@description
5
+
6
+Since Angular 1.3, the methods of {@link ng.$animate} do not accept a callback as the last parameter.
7
+Instead, they return a promise to which you can attach `then` handlers to be run when the animation completes.
8
9
+If you are getting this error then you need to update your code to use the promise-based API.
10
11
+See https://github.com/angular/angular.js/commit/bf0f5502b1bbfddc5cdd2f138efd9188b8c652a9 for information about
12
+the change to the animation API and the changes you need to make.
0 commit comments