Returns a promise that will resolve after either the animation, transition or the max delay of time is reached.
If maxDelay is provided as zero or a falsy value, the promise resolve immediately.
maxDelay
Returns a promise that will resolve after either the animation, transition or the max delay of time is reached.
If
maxDelay
is provided as zero or a falsy value, the promise resolve immediately.