Adjust animation timing with delays and loops.
delay
This allows you to add a delay in milliseconds before starting the animation.
loop
This allows the animation to be played in a loop.
Note: We recommend using loop when the final state of the animation is
identical to the initial
state.
loopDelay
This allows you to add a delay in milliseconds between animations when the animation plays in a loop.
API Reference
Prop | Type | Default |
---|---|---|
delay? | number | 0 |
loop? | boolean | false |
loopDelay? | number | 0 |