Side navigation
#6281 closed enhancement (worksforme)
Opened March 14, 2010 03:13AM UTC
Closed April 16, 2011 11:48PM UTC
Last modified March 14, 2012 02:36AM UTC
Slots for animations
Reported by: | AzaToth | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.6 |
Component: | effects | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This patch adds slots to the fx mechanism and results in that all animations in a given slot will use the same time quanta.
Attachments (3)
Change History (11)
Changed March 15, 2010 12:15AM UTC by comment:1
Changed March 15, 2010 10:33PM UTC by comment:2
Here is a visual test; the "normal" is what current behavior is, and slotted is when the effect uses the same slot:
Changed March 17, 2010 11:29PM UTC by comment:3
See http://js.azatoth.net/test/slotted2.html for example using second patch.
Changed November 12, 2010 02:40AM UTC by comment:4
milestone: | 1.4.3 |
---|
Resetting milestone to future.
Changed November 21, 2010 04:53AM UTC by comment:5
priority: | → low |
---|---|
status: | new → open |
Changed December 23, 2010 05:37PM UTC by comment:6
milestone: | → 1.5 |
---|
Changed January 07, 2011 08:03PM UTC by comment:8
Would it be possible to have a callback added for when all elements in a particular slot have finished execution? Also I find the terminology of "''slot''" to be a little odd, wouldn't "''set''" or "''group''", possibly prefixed like "''fxgroup''" or "''AnimationSet''" be more appropriate?
Changed January 08, 2011 05:58PM UTC by comment:9
Another approach to synchronizing animations - http://bugs.jquery.com/ticket/7917 - I opened it having not found this ticket while searching.
Changed March 14, 2011 02:56AM UTC by comment:10
Added pull request at https://github.com/jquery/jquery/pull/271
Changed April 16, 2011 11:48PM UTC by comment:11
milestone: | → 1.6 |
---|---|
resolution: | → worksforme |
status: | open → closed |
This was fixed with the resolution of #7917.
A more detailed reason for this:
When multiple animations are meant to be executed in "parallel",
currently they will be asynchronous and thus experience an delayed
animation for later elements. To overcome this issue, we add an slot
mechanism which specifies that we can use one single slot for a bunch
of animations, and they all will use the same start time and current
time.