Methods
-
cancel()
Cancels the animation
-
Details
-
catch( onRejected ) → {PSVAnimation}
Alias to
.then(null, onRejected) -
Parameters
Name Type Description onRejectedfunction Called when the animation has been cancelled
Returns
Details
-
finally( onFinally ) → {PSVAnimation}
Alias to
.then(onFinally, onFinally) -
Parameters
Name Type Description onFinallyfunction Called when the animation is either complete or cancelled
Returns
Details
-
then( onFulfilled, onRejected ) → {PSVAnimation}
Animation chaining
-
Parameters
Name Type Description onFulfilledfunction Called when the animation is complete, can return a new animation
onRejectedfunction Called when the animation is cancelled
Returns
Details
Type Definitions
-
OnTick( properties, progress )
-
Parameters
Name Type Description propertiesArray.<Object> current values
progressfloat 0 to 1
Details