state
Number|Array
Initial state
The amount of time in milliseconds taken for one complete oscillation when there is no damping Range : [0, Infinity]
The damping of the snap. Range : [0, 1] 0 = no damping, and the spring will oscillate forever 1 = critically damped (the spring will never oscillate)
The initial velocity of the transition.
Resets the position and velocity
Getter for velocity
Setter for velocity
Detects whether a transition is in progress
Halt the transition
Get the current position of the transition
Set the end position and transition, with optional callback on completion.