Type alias AnimationEnd

AnimationEnd: "show" | "hide" | "interrupted"

How a phase's animation ended, passed to AnimationPhase.onComplete:

  • "show" -> finished playing forward as a show.
  • "hide" -> finished as a hide (an authored hide played forward, or the implicit hide that replays show backwards).
  • "interrupted" -> cut short before reaching its end (a new show/hide took over, or the overlay was torn down).