Angular · Middle · Question 64 of 75
How do you animate transitions between routes with the browser's View Transitions API?
provideRouter(routes, withViewTransitions())- ✓Correct answer: Enable
withViewTransitions()inprovideRouterand style the transitions with CSS - 2Wrap
<router-outlet>in@defer - 3It's impossible without a third-party library
Explanation
Browsers without View Transitions support navigate as usual. The ::view-transition-* pseudo-elements control the animation.