anim
Starts a new animation towards the target value over the specified time using the given easing function.
Parameters
target
The target value to animate to.
time Ms
The duration of the animation in milliseconds.
ease
The easing function to use for the animation.
Throws
if the animation length is less than or equal to 0.