Opened 12 years ago
Closed 12 years ago
#9402 closed enhancement (wontfix)
Add Animate preCallback
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.7 |
Component: | effects | Version: | 1.6.1 |
Keywords: | 1.7-discuss | Cc: | |
Blocked by: | Blocking: |
Description (last modified by )
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.
Change History (11)
comment:1 Changed 12 years ago by
Keywords: | 1.7-discuss added |
---|
comment:2 Changed 12 years ago by
+0, Can be achieved with a minimal amount of code using the existing API
comment:5 Changed 12 years ago by
Component: | unfiled → effects |
---|---|
Description: | modified (diff) |
Priority: | undecided → low |
Status: | new → open |
comment:10 Changed 12 years ago by
Description: | modified (diff) |
---|
-1, queue your function, we do this in jQuery UI without a problem
comment:11 Changed 12 years ago by
Milestone: | 1.next → 1.7 |
---|---|
Resolution: | → wontfix |
Status: | open → closed |
Closing per 1.7 roadmap meeting resolution
Nominating ticket for 1.7 discussion.