Skip to content

Types: RouterViewTransition<TRoutes> ​

ts
type RouterViewTransition<TRoutes> = object;

The view transition in flight, from the moment a navigation is decided to transition until its animation finishes. to and from are known throughout, so the page being left can prepare its elements before it is captured. transition is set once the browser has been asked to transition.

Type Parameters ​

Type ParameterDefault type
TRoutes extends RoutesRoutes

Properties ​

PropertyModifierType
fromreadonly| RouterResolvedRouteUnion<TRoutes> | undefined
isTransitioningreadonlyboolean
toreadonly| RouterResolvedRouteUnion<TRoutes> | undefined
transitionreadonlyViewTransition | undefined
typesreadonlyViewTransitionTypes