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