ENGLISH·COURSE API
    Preparing search index...
    • The transition type a navigation carries for a motion.

      Parameters

      • motion:
            | "slide-forward"
            | "slide-back"
            | "depth-in"
            | "depth-out"
            | "rise"
            | "sink"
            | "fade"

        The motion to name

      Returns string

      route-<motion>

      The same string is the view-transition class its CSS rules select, which is what keeps the type, the class map and the stylesheet from drifting apart.