Bug Tracker

Opened 5 years ago

Closed 5 years ago

Last modified 5 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 follow-up: Changed 5 years ago by addyosmani

  • Component changed from unfiled to effects
  • Owner set to gnarf
  • Priority changed from undecided to low
  • Status changed from new to 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.

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

  • Status changed from pending to new

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 5 years ago by dmethvin

  • Status changed from new to open

comment:5 Changed 5 years ago by john

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

comment:6 Changed 5 years ago by john

  • Keywords 1.7-discuss added

Nominating ticket for 1.7 discussion.

comment:7 Changed 5 years ago by rwaldron

  • Description modified (diff)

+1,

comment:8 Changed 5 years ago by jaubourg

+1,

comment:9 Changed 5 years ago by timmywil

+1,

comment:10 Changed 5 years ago by dmethvin

  • Description modified (diff)

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

comment:11 Changed 5 years ago by ajpiano

+1, Love it

comment:12 Changed 5 years ago by scottgonzalez

  • Description modified (diff)

+1, seems useful and implementation is super small

comment:13 Changed 5 years ago by dmethvin

  • Description modified (diff)
  • Milestone changed from 1.next to 1.7
  • Priority changed from low to blocker

comment:15 Changed 5 years ago by gnarf

  • Status changed from open to assigned

comment:16 Changed 5 years ago by Corey Frang

  • Resolution set to fixed
  • Status changed from assigned to closed

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.