Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#9280 closed enhancement (fixed)

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 (last modified by dmethvin)

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");

Change History (16)

comment:2 Changed 10 years ago by addyosmani

Component: unfiledeffects
Owner: set to gnarf
Priority: undecidedlow
Status: newpending

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.

comment:3 in reply to:  2 Changed 10 years ago by gnarf

Status: pendingnew

Replying to 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.

comment:4 Changed 10 years ago by dmethvin

Status: newopen

comment:5 Changed 10 years ago by john

+1, Sounds great (and easy!) to me.

comment:6 Changed 10 years ago by john

Keywords: 1.7-discuss added

Nominating ticket for 1.7 discussion.

comment:7 Changed 10 years ago by Rick Waldron

Description: modified (diff)

+1,

comment:8 Changed 10 years ago by jaubourg

+1,

comment:9 Changed 10 years ago by timmywil

+1,

comment:10 Changed 10 years ago by dmethvin

Description: modified (diff)

+1, Seems like a useful and back-compat extension.

comment:11 Changed 10 years ago by ajpiano

+1, Love it

comment:12 Changed 10 years ago by scottgonzalez

Description: modified (diff)

+1, seems useful and implementation is super small

comment:13 Changed 10 years ago by dmethvin

Description: modified (diff)
Milestone: 1.next1.7
Priority: lowblocker

comment:15 Changed 10 years ago by gnarf

Status: openassigned

comment:16 Changed 10 years ago by Corey Frang

Resolution: fixed
Status: assignedclosed

Landing pull request 496. 1.7 animate: allow named queues to be used by animate. Fixes #9280.

More Details:

Note: See TracTickets for help on using tickets.