// A no-op tween — a timed pause that touches no channels, so it composes with any running animation (use delayAnimation().play() + await to sequence)
eles.delay(duration: number, complete?: () => void): thisA no-op tween — a timed pause that touches no channels, so it composes with any running animation (use delayAnimation().play() + await to sequence).
| Name | Description |
|---|---|
duration: number | the pause in ms |
complete: () => void? | called when it elapses |
Returns
thisthis collection, for chaining
Example
eles.delay(1);eles.stop(true);console.log(eles.animated()); // false