Side navigation
#9280 closed enhancement (fixed)
Opened May 13, 2011 11:35PM UTC
Closed September 19, 2011 08:08PM UTC
Last modified March 13, 2012 01:45PM UTC
Allow multiple effect queues for animate()
Reported by: | gnarf | Owned by: | gnarf |
---|---|---|---|
Priority: | blocker | Milestone: | 1.7 |
Component: | effects | Version: | git |
Keywords: | 1.7-discuss | Cc: | |
Blocked by: | Blocking: |
Description
animate()currently has a
queueoption, but the only "useful" value it has
false.
I would like to propose that we add support for passing a string, which when present would queue the animation in the specified queue like so:
$(".elems").animate( props, { queue: "second", duration: 250, callback: fn, easing: "swing" }).dequeue("second");
Attachments (0)
Change History (16)
Changed May 14, 2011 12:03AM UTC by comment:1
Changed May 17, 2011 08:17PM UTC by comment:2
component: | unfiled → effects |
---|---|
owner: | → gnarf |
priority: | undecided → low |
status: | new → pending |
Is this something that was submitted for the jQuery 1.7 Roadmap proposal?. It's still not too late to get the addition on there so that we can vote as to whether it should land.
Changed May 17, 2011 09:53PM UTC by comment:3
status: | pending → new |
---|
Replying to [comment:2 addyosmani]:
Is this something that was submitted for the jQuery 1.7 Roadmap proposal?. It's still not too late to get the addition on there so that we can vote as to whether it should land.
Yes - its on the proposal list already.
Changed May 20, 2011 02:56PM UTC by comment:4
status: | new → open |
---|
Changed May 22, 2011 05:31PM UTC by comment:5
+1, Sounds great (and easy!) to me.
Changed May 22, 2011 07:27PM UTC by comment:6
keywords: | → 1.7-discuss |
---|
Nominating ticket for 1.7 discussion.
Changed May 22, 2011 08:43PM UTC by comment:7
description: | {{{animate()}}} currently has a {{{ queue }}} option, but the only "useful" value it has {{{ false }}}. \ \ I would like to propose that we add support for passing a string, which when present would queue the animation in the specified queue like so: \ \ {{{ \ $(".elems").animate( props, { \ queue: "second", \ duration: 250, \ callback: fn, \ easing: "swing" \ }).dequeue("second"); \ }}} → {{{animate()}}} currently has a {{{ queue }}} option, but the only "useful" value it has {{{ false }}}.\ \ I would like to propose that we add support for passing a string, which when present would queue the animation in the specified queue like so:\ \ {{{\ $(".elems").animate( props, {\ queue: "second",\ duration: 250,\ callback: fn,\ easing: "swing"\ }).dequeue("second");\ }}} |
---|
+1,
Changed May 23, 2011 12:50AM UTC by comment:8
+1,
Changed May 23, 2011 04:52AM UTC by comment:9
+1,
Changed May 24, 2011 09:56PM UTC by comment:10
description: | {{{animate()}}} currently has a {{{ queue }}} option, but the only "useful" value it has {{{ false }}}.\ \ I would like to propose that we add support for passing a string, which when present would queue the animation in the specified queue like so:\ \ {{{\ $(".elems").animate( props, {\ queue: "second",\ duration: 250,\ callback: fn,\ easing: "swing"\ }).dequeue("second");\ }}} → {{{animate()}}} currently has a {{{ queue }}} option, but the only "useful" value it has {{{ false }}}. \ \ I would like to propose that we add support for passing a string, which when present would queue the animation in the specified queue like so: \ \ {{{ \ $(".elems").animate( props, { \ queue: "second", \ duration: 250, \ callback: fn, \ easing: "swing" \ }).dequeue("second"); \ }}} |
---|
+1, Seems like a useful and back-compat extension.
Changed June 05, 2011 10:04PM UTC by comment:11
+1, Love it
Changed June 06, 2011 03:03PM UTC by comment:12
description: | {{{animate()}}} currently has a {{{ queue }}} option, but the only "useful" value it has {{{ false }}}. \ \ I would like to propose that we add support for passing a string, which when present would queue the animation in the specified queue like so: \ \ {{{ \ $(".elems").animate( props, { \ queue: "second", \ duration: 250, \ callback: fn, \ easing: "swing" \ }).dequeue("second"); \ }}} → {{{animate()}}} currently has a {{{ queue }}} option, but the only "useful" value it has {{{ false }}}.\ \ I would like to propose that we add support for passing a string, which when present would queue the animation in the specified queue like so:\ \ {{{\ $(".elems").animate( props, {\ queue: "second",\ duration: 250,\ callback: fn,\ easing: "swing"\ }).dequeue("second");\ }}} |
---|
+1, seems useful and implementation is super small
Changed July 12, 2011 03:05PM UTC by comment:13
description: | {{{animate()}}} currently has a {{{ queue }}} option, but the only "useful" value it has {{{ false }}}.\ \ I would like to propose that we add support for passing a string, which when present would queue the animation in the specified queue like so:\ \ {{{\ $(".elems").animate( props, {\ queue: "second",\ duration: 250,\ callback: fn,\ easing: "swing"\ }).dequeue("second");\ }}} → {{{animate()}}} currently has a {{{ queue }}} option, but the only "useful" value it has {{{ false }}}. \ \ I would like to propose that we add support for passing a string, which when present would queue the animation in the specified queue like so: \ \ {{{ \ $(".elems").animate( props, { \ queue: "second", \ duration: 250, \ callback: fn, \ easing: "swing" \ }).dequeue("second"); \ }}} |
---|---|
milestone: | 1.next → 1.7 |
priority: | low → blocker |
Changed September 12, 2011 02:47PM UTC by comment:14
Changed September 12, 2011 03:00PM UTC by comment:15
status: | open → assigned |
---|
Changed September 19, 2011 08:08PM UTC by comment:16
resolution: | → fixed |
---|---|
status: | assigned → closed |
Landing pull request 496. 1.7 animate: allow named queues to be used by animate. Fixes #9280.
More Details:
Changeset: e4c48a34b4fe687d4a3b935b6c405f502dd0223e
https://github.com/gnarf37/jquery/commit/d3eb1c1120f55a70a03bcb1545bc9a36cb3af205