[READ-ONLY] Mirror of https://github.com/okikio/native. An initiative which aims to make it easy to create complex, light-weight, and perfor okikio.github.io/native
native src content animate api options direction.md
779 B · 12 lines
Markdown
at dev

direction #

Default Type
normal String | TypeCallback

Determines the direction of the animation, the directions available are:

  • reverse runs the animation backwards,
  • alternate switches direction after each iteration if the animation loops.
  • alternate-reverse starts the animation at what would be the end of the animation if the direction were
  • normal but then when the animation reaches the beginning of the animation it alternates going back to the position it started at.