Skip to main content

Bug Tracker

Side navigation

#26 closed feature (fixed)

Opened July 01, 2006 11:31PM UTC

Closed August 23, 2006 05:29AM UTC

Last modified June 20, 2007 02:37AM UTC

Allow step callback for effects

Reported by: Owned by:
Priority: minor Milestone: 1.0
Component: effects Version: 1.0
Keywords: Cc:
Blocked by: Blocking:

Context: I needed to call an extra callback during each step of an animation. This was so I could ensure that an expanding element was scrolled into view as much as possible. Doing it after the animation was already possible, but it looks cooler to also do it during each step of the animation.

I was able to add it easily with the following patch:

There is already functionality in 1.0 alpha to pass extra parameters to .fx by passing a hash instead of a single callback function for 'callback'. After this patch, you can supply a step callback under the key 'step':

    // Make sure we open to height auto
    complete: function() {
      fieldset.animating = false;
    // Scroll the fieldset into view
    step: function() {
Attachments (0)
Change History (2)

Changed July 04, 2006 09:39PM UTC by john comment:1

priority: majorminor
type: enhancementfeature

Changed August 23, 2006 05:29AM UTC by john comment:2

milestone: → 1.0
resolution: → fixed
status: newclosed
version: → 1.0

Added in SVN.