in partnership with mediatemple

Ticket #712 (closed enhancement: fixed)

Opened 5 months ago

Last modified 2 months ago

Add a cancel to Fx.(Tween|Morph).set

Reported by: JanK Owned by: digitarald
Type: enhancement Priority: minor
Milestone: Mootools version 1.3 Component: Core
Keywords: Cc:

Description

Fx.*.set should cancel a running animation. Example:

I used el.fade('show') on Ajax request and el.fade('out') onComplete, but that causes the 'show' not to work properly if i the 'out' animation is running.

Change History

Changed 5 months ago by pencil

+1 vote for this feature :)

Changed 4 months ago by digitarald

  • owner set to digitarald
  • status changed from new to assigned
  • milestone changed from Mootools version 1.2 to Mootools version 1.3

Please post a patch for this enhancement.

Changed 2 months ago by digitarald

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

Fx::set is used internally, use Fx::cancel to cancel running fx before setting them.

Note: See TracTickets for help on using tickets.