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 Parameter | Default type |
|---|---|
TRoutes extends Routes | Routes |
Properties
| Property | Modifier | Type |
|---|---|---|
from | readonly | | RouterResolvedRouteUnion<TRoutes> | undefined |
isTransitioning | readonly | boolean |
to | readonly | | RouterResolvedRouteUnion<TRoutes> | undefined |
transition | readonly | ViewTransition | undefined |
types | readonly | ViewTransitionTypes |