#6281 closed enhancement (worksforme)
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 (14)
Changed 13 years ago by
Attachment: | jquery.fx.slot.patch added |
---|
Changed 13 years ago by
Attachment: | 0001-Animation-slots.patch added |
---|
comment:1 Changed 13 years ago by
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.
comment:2 Changed 13 years ago by
Here is a visual test; the "normal" is what current behavior is, and slotted is when the effect uses the same slot:
Changed 13 years ago by
Attachment: | 0001-Animation-slots.2.patch added |
---|
updated patch to remove the requirement to call reset on chained animations
comment:3 Changed 13 years ago by
See http://js.azatoth.net/test/slotted2.html for example using second patch.
comment:5 Changed 13 years ago by
Priority: | → low |
---|---|
Status: | new → open |
comment:8 Changed 12 years ago by
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?
comment:9 Changed 12 years ago by
Another approach to synchronizing animations - http://bugs.jquery.com/ticket/7917 - I opened it having not found this ticket while searching.
comment:11 Changed 12 years ago by
Milestone: | → 1.6 |
---|---|
Resolution: | → worksforme |
Status: | open → closed |
This was fixed with the resolution of #7917.
updated patch to clean up the interface