Transition Type — astro Architecture
Architecture documentation for the Transition type/interface in router.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 2a5c7e3d_c701_e248_9927_ff62d2bac4f1["Transition"] 2b5c33e2_176e_e839_f05f_7f10493f4f74["router.ts"] 2a5c7e3d_c701_e248_9927_ff62d2bac4f1 -->|defined in| 2b5c33e2_176e_e839_f05f_7f10493f4f74 style 2a5c7e3d_c701_e248_9927_ff62d2bac4f1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/transitions/router.ts lines 20–27
type Transition = {
// The view transitions object (API and simulation)
viewTransition?: ViewTransition;
// Simulation: Whether transition was skipped
transitionSkipped: boolean;
// Simulation: The resolve function of the finished promise
viewTransitionFinished?: () => void;
};
Defined In
Source
Frequently Asked Questions
What is the Transition type?
Transition is a type/interface in the astro codebase, defined in packages/astro/src/transitions/router.ts.
Where is Transition defined?
Transition is defined in packages/astro/src/transitions/router.ts at line 20.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free