Side navigation
#9402 closed enhancement (wontfix)
Opened May 22, 2011 07:24PM UTC
Closed June 07, 2011 06:53PM UTC
Add Animate preCallback
Reported by: | jquery@game-point.net | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.7 |
Component: | effects | Version: | 1.6.1 |
Keywords: | 1.7-discuss | Cc: | |
Blocked by: | Blocking: |
Description
At the moment, .animate() only has one callback function that can be specified, which happens after the animation. I'll therefore call that the postCallback.
It'd be nice if jQuery had both a preCallback function and the postCallback function. The preCallback would be run just before the animation started. This is very useful if you're queueing animations up, and don't want to do something right now, but instead just before an animation which may be some way in the future, in the queue.
I propose therefore adding a preCallback and a postCallback function for .animate(), and aliasing the current callback to postCallback.
Attachments (0)
Change History (11)
Changed May 22, 2011 07:28PM UTC by comment:1
keywords: | → 1.7-discuss |
---|
Changed May 22, 2011 08:21PM UTC by comment:2
+0, Can be achieved with a minimal amount of code using the existing API
Changed May 23, 2011 01:09AM UTC by comment:3
description: | At the moment, .animate() only has one callback function that can be specified, which happens after the animation. I'll therefore call that the postCallback. \ \ It'd be nice if jQuery had both a preCallback function and the postCallback function. The preCallback would be run just before the animation started. This is very useful if you're queueing animations up, and don't want to do something right now, but instead just before an animation which may be some way in the future, in the queue. \ \ I propose therefore adding a preCallback and a postCallback function for .animate(), and aliasing the current callback to postCallback. → At the moment, .animate() only has one callback function that can be specified, which happens after the animation. I'll therefore call that the postCallback.\ \ It'd be nice if jQuery had both a preCallback function and the postCallback function. The preCallback would be run just before the animation started. This is very useful if you're queueing animations up, and don't want to do something right now, but instead just before an animation which may be some way in the future, in the queue.\ \ I propose therefore adding a preCallback and a postCallback function for .animate(), and aliasing the current callback to postCallback. |
---|
-1, .queue?
Changed May 23, 2011 05:15AM UTC by comment:4
-1, queue
Changed May 24, 2011 12:40AM UTC by comment:5
component: | unfiled → effects |
---|---|
description: | At the moment, .animate() only has one callback function that can be specified, which happens after the animation. I'll therefore call that the postCallback.\ \ It'd be nice if jQuery had both a preCallback function and the postCallback function. The preCallback would be run just before the animation started. This is very useful if you're queueing animations up, and don't want to do something right now, but instead just before an animation which may be some way in the future, in the queue.\ \ I propose therefore adding a preCallback and a postCallback function for .animate(), and aliasing the current callback to postCallback. → At the moment, .animate() only has one callback function that can be specified, which happens after the animation. I'll therefore call that the postCallback. \ \ It'd be nice if jQuery had both a preCallback function and the postCallback function. The preCallback would be run just before the animation started. This is very useful if you're queueing animations up, and don't want to do something right now, but instead just before an animation which may be some way in the future, in the queue. \ \ I propose therefore adding a preCallback and a postCallback function for .animate(), and aliasing the current callback to postCallback. |
priority: | undecided → low |
status: | new → open |
Changed May 24, 2011 10:36PM UTC by comment:6
-1
Changed June 03, 2011 02:12PM UTC by comment:7
description: | At the moment, .animate() only has one callback function that can be specified, which happens after the animation. I'll therefore call that the postCallback. \ \ It'd be nice if jQuery had both a preCallback function and the postCallback function. The preCallback would be run just before the animation started. This is very useful if you're queueing animations up, and don't want to do something right now, but instead just before an animation which may be some way in the future, in the queue. \ \ I propose therefore adding a preCallback and a postCallback function for .animate(), and aliasing the current callback to postCallback. → At the moment, .animate() only has one callback function that can be specified, which happens after the animation. I'll therefore call that the postCallback.\ \ It'd be nice if jQuery had both a preCallback function and the postCallback function. The preCallback would be run just before the animation started. This is very useful if you're queueing animations up, and don't want to do something right now, but instead just before an animation which may be some way in the future, in the queue.\ \ I propose therefore adding a preCallback and a postCallback function for .animate(), and aliasing the current callback to postCallback. |
---|
-1
Changed June 04, 2011 10:15PM UTC by comment:8
-1
Changed June 05, 2011 10:04PM UTC by comment:9
description: | At the moment, .animate() only has one callback function that can be specified, which happens after the animation. I'll therefore call that the postCallback.\ \ It'd be nice if jQuery had both a preCallback function and the postCallback function. The preCallback would be run just before the animation started. This is very useful if you're queueing animations up, and don't want to do something right now, but instead just before an animation which may be some way in the future, in the queue.\ \ I propose therefore adding a preCallback and a postCallback function for .animate(), and aliasing the current callback to postCallback. → At the moment, .animate() only has one callback function that can be specified, which happens after the animation. I'll therefore call that the postCallback. \ \ It'd be nice if jQuery had both a preCallback function and the postCallback function. The preCallback would be run just before the animation started. This is very useful if you're queueing animations up, and don't want to do something right now, but instead just before an animation which may be some way in the future, in the queue. \ \ I propose therefore adding a preCallback and a postCallback function for .animate(), and aliasing the current callback to postCallback. |
---|
-1
Changed June 06, 2011 03:49PM UTC by comment:10
description: | At the moment, .animate() only has one callback function that can be specified, which happens after the animation. I'll therefore call that the postCallback. \ \ It'd be nice if jQuery had both a preCallback function and the postCallback function. The preCallback would be run just before the animation started. This is very useful if you're queueing animations up, and don't want to do something right now, but instead just before an animation which may be some way in the future, in the queue. \ \ I propose therefore adding a preCallback and a postCallback function for .animate(), and aliasing the current callback to postCallback. → At the moment, .animate() only has one callback function that can be specified, which happens after the animation. I'll therefore call that the postCallback.\ \ It'd be nice if jQuery had both a preCallback function and the postCallback function. The preCallback would be run just before the animation started. This is very useful if you're queueing animations up, and don't want to do something right now, but instead just before an animation which may be some way in the future, in the queue.\ \ I propose therefore adding a preCallback and a postCallback function for .animate(), and aliasing the current callback to postCallback. |
---|
-1, queue your function, we do this in jQuery UI without a problem
Changed June 07, 2011 06:53PM UTC by comment:11
milestone: | 1.next → 1.7 |
---|---|
resolution: | → wontfix |
status: | open → closed |
Closing per 1.7 roadmap meeting resolution
Nominating ticket for 1.7 discussion.