Inherited functions

Sets the target value, which effectively starts an animation to change the value from value
to the target value. If there is already an animation in flight, this method will interrupt
the ongoing animation, invoke onEnd that is associated with that animation, and start
a new animation from the current value to the new target value.

Sets up the bounds that the animation should be constrained to. When the animation
reaches the bounds it will stop right away, even when there is remaining velocity. Setting
a range will immediately clamp the current value to the new range. Therefore it is not
recommended to change bounds in a way that immediately changes current value during an
animation, as it would result in a discontinuous animation.