Bug Tracker

Ticket #9280 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

Description (last modified by dmethvin) (diff)

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

comment:2 follow-up: ↓ 3 Changed 4 years ago by addyosmani

  • Owner set to gnarf
  • Priority changed from undecided to low
  • Status changed from new to pending
  • Component changed from unfiled to effects

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

  • Status changed from new to open

comment:5 Changed 4 years ago by john

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

comment:6 Changed 4 years ago by john

  • Keywords 1.7-discuss added

Nominating ticket for 1.7 discussion.

comment:7 Changed 4 years ago by rwaldron

  • Description modified (diff)

+1,

comment:8 Changed 4 years ago by jaubourg

+1,

comment:9 Changed 4 years ago by timmywil

+1,

comment:10 Changed 4 years ago by dmethvin

  • Description modified (diff)

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

comment:11 Changed 4 years ago by ajpiano

+1, Love it

comment:12 Changed 4 years ago by scott.gonzalez

  • Description modified (diff)

+1, seems useful and implementation is super small

comment:13 Changed 3 years ago by dmethvin

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

comment:15 Changed 3 years ago by gnarf

  • Status changed from open to assigned

comment:16 Changed 3 years ago by Corey Frang

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

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.