Bug Tracker

Ticket #3221 (closed enhancement: fixed)

Opened 5 months ago

Last modified 3 months ago

Add "stop all" function that kills all queued animations

Reported by: dalangalma Assigned to: flesler
Type: enhancement Priority: minor
Milestone: 1.3 Component: fx
Version: 1.2.6 Keywords:
Cc: Needs: Patch

Description

This was added by the old Interface code in change http://dev.jquery.com/changeset/1311, but it'd be nice to have it in jQuery core. Right now you can stop the current animation with stop(), but it would be nice to also be able to stop all future animations as well.

Attachments

Change History

Changed 5 months ago by flesler

  • owner set to flesler
  • status changed from new to assigned

Yeah.. I encountered this situation many times. I'll handle this.

Changed 3 months ago by flesler

  • status changed from assigned to closed
  • resolution set to fixed

This can be done like this:

$(...).stop( true );

Note: See TracTickets for help on using tickets.