Ticket #9402 (closed enhancement: wontfix)
Add Animate preCallback
|Reported by:||jquery@…||Owned by:|
Description (last modified by scott.gonzalez) (diff)
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 changed from undecided to low
- Status changed from new to open
- Component changed from unfiled to effects
- Description modified (diff)