It would be nice to have an initialDelay (or beginDelay) property parameter in addition to the already available delay and endDelay parameters.
The reason for this would be to allow the delay to only happen when the animation first begins but not for every loop/iteration when setting loop to true.
I know you can wrap the animation in a setTimeout to solve for this, but when doing that, the timeout will not be canceled/cleared when using anime.remove(). Also, when wanting to stagger just the start of a looping animation on a collection of targets it gets pretty messy, when there is already such a clean way of using anime.stagger() on the existing delay parameter.
It would be nice to have an initialDelay (or beginDelay) property parameter in addition to the already available delay and endDelay parameters.
The reason for this would be to allow the delay to only happen when the animation first begins but not for every loop/iteration when setting loop to true.
I know you can wrap the animation in a setTimeout to solve for this, but when doing that, the timeout will not be canceled/cleared when using anime.remove(). Also, when wanting to stagger just the start of a looping animation on a collection of targets it gets pretty messy, when there is already such a clean way of using anime.stagger() on the existing delay parameter.