Easing Class
The easing module provides methods for customizing how an animation behaves during each run.
Item Index
Methods
backBoth
-
t
-
b
-
c
-
d
-
s
Backtracks slightly, then reverses direction, overshoots end, then reverses and comes back to end.
Parameters:
Returns:
backIn
-
t
-
b
-
c
-
d
-
s
Backtracks slightly, then reverses direction and moves to end.
Parameters:
Returns:
backOut
-
t
-
b
-
c
-
d
-
s
Overshoots end, then reverses and comes back to end.
Parameters:
Returns:
bounceBoth
-
t
-
b
-
c
-
d
Bounces off start and end.
Parameters:
Returns:
bounceIn
-
t
-
b
-
c
-
d
Bounce off of start.
Parameters:
Returns:
bounceOut
-
t
-
b
-
c
-
d
Bounces off end.
Parameters:
Returns:
easeBoth
-
t
-
b
-
c
-
d
Begins slowly and decelerates towards end. (quadratic)
Parameters:
Returns:
easeBothStrong
-
t
-
b
-
c
-
d
Begins slowly and decelerates towards end. (quartic)
Parameters:
Returns:
easeIn
-
t
-
b
-
c
-
d
Begins slowly and accelerates towards end. (quadratic)
Parameters:
Returns:
easeInStrong
-
t
-
b
-
c
-
d
Begins slowly and accelerates towards end. (quartic)
Parameters:
Returns:
easeNone
-
t
-
b
-
c
-
d
Uniform speed between points.
Parameters:
Returns:
easeOut
-
t
-
b
-
c
-
d
Begins quickly and decelerates towards end. (quadratic)
Parameters:
Returns:
easeOutStrong
-
t
-
b
-
c
-
d
Begins quickly and decelerates towards end. (quartic)
Parameters:
Returns:
elasticBoth
-
t
-
b
-
c
-
d
-
a
-
p
Snap both elastic effect.
Parameters:
Returns:
elasticIn
-
t
-
b
-
c
-
d
-
a
-
p
Snap in elastic effect.