direction
| Default | Type |
|---|---|
normal | String | TypeCallback |
Determines the direction of the animation, the directions available are:
reverseruns the animation backwards,alternateswitches direction after each iteration if the animation loops.alternate-reversestarts the animation at what would be the end of the animation if the direction werenormalbut then when the animation reaches the beginning of the animation it alternates going back to the position it started at.