Bug Tracker

Modify

Ticket #5599 (closed feature: fixed)

Opened 3 years ago

Last modified 3 years ago

Added support for per-property easing

Reported by: james_padolsey Owned by:
Priority: major Milestone: 1.4
Component: effects Version: 1.4a1
Keywords: easing animation Cc:
Blocking: Blocked by:

Description

Added support for per-property easing. E.g.

GIST:  http://gist.github.com/249450

As mentioned in the gist, any easing method passed as the third parameter to animate(), like you would usually, is only used on each property if that property does not have its own easing method specified. So, essentially, what this addition allows is for "per-property easing functions" without having to create multiple animations.

See the addition on Github:  http://github.com/jamespadolsey/jquery/commit/4a3f867ed935c7ec95266ea26bf9565c6e384531#diff-1

Change History

comment:1 Changed 3 years ago by james_padolsey

It might be worth saying that John asked me to submit this addition as a ticket, following this post:  http://james.padolsey.com/javascript/getting-fancy-with-easing/

comment:2 Changed 3 years ago by john

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.