Interface
AnimateOpt
:duration
: numberDuration of the animation in seconds
loops
?: numberLoops, Default is undefined aka infinite
direction
?: TimeDirectionBehavior when reaching the end of the animation. Default is forward.
easing
?: EaseFuncEasing function. Default is linear time.
interpolation
?: InterpolationInterpolation function. Default is linear interpolation.
timing
?: number[]Timestamps in percent for the given keys, if omitted, keys are equally spaced.
easings
?: EaseFunc[]Easings for the given keys, if omitted, easing is used.