Animation step base class. All animation steps extend this class.
durationnumber — in seconds
onFinishstring | (cancelled: boolean) => void | null — called when animation is
finished - a true parameter is passed to the callback if the animation was
cancelled
completeOnCancelboolean | null — true to skip to end of
animation on cancel
stateanimating | idle | waitingToStart | finished
removeOnFinishboolean — true to remove the animation from the
animation manager when it is finished (true)
namestring — animation name identifier
startDelaynumber — delay before animation starts in seconds
precisionnumber — precision to do calculations to (8)
Animation step base class. All animation steps extend this class.
durationnumber— in secondsonFinishstring|(cancelled: boolean) => void|null— called when animation is finished - atrueparameter is passed to the callback if the animation was cancelledcompleteOnCancelboolean|null—trueto skip to end of animation on cancelstateanimating|idle|waitingToStart|finishedremoveOnFinishboolean—trueto remove the animation from the animation manager when it is finished (true)namestring— animation name identifierstartDelaynumber— delay before animation starts in secondsprecisionnumber— precision to do calculations to (8)