Ticket #5599 (closed feature: fixed)
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:2 Changed 3 years ago by john
- Status changed from new to closed
- Resolution set to fixed
Landed. Thanks for the patch! http://github.com/jquery/jquery/commit/93fdbeb963a9c350f807818c7cc99982942a92f3
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

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/