Enum TransitionRepeatType
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
How each pass after the first of a repeating play runs — Framer Motion's repeatType. See
Repeat.
public enum TransitionRepeatType
Fields
Loop = 0Every pass runs from the from-values to the to-values. The default.
Mirror = 2Every second pass runs from the to-values back to the from-values: a bezier on the same easing, so an ease-out pass returns ease-out, and a spring released from the to-values.
Reverse = 1Every second pass plays the one before it backwards in time — CSS's
animation-direction: alternate. A bezier's easing comes back reversed, so an ease-out pass returns as an ease-in one, and a spring retraces its path.