Whenever the root navigations, the router emits navigation events using Router.events property. The sequence of router events is - 1. NavigationStart 2. RouteConfigLoadStart 3. RouteConfigLoadEnd 4. RoutesRecognized 5. GuardsCheckStart 6. ChildActivationStart 7. ActivationStart 8. GuardsCheckEnd 9. ResolveStart 10. ResolveEnd 11. ActivationEnd 12. ChildActivationEnd 13. NavigationEnd 14. NavigationCancel 15. NavigationError The Router events are also logged in the console when enableTracing option is enabled. The NavigationStart event is triggered when navigation starts. The RoutesRecognized event triggered when the routes are re...
Angular, React, JavaScript, Java, PHP, SQL, C#, Vue, NodeJs, TypeScript and Interview Questions Answers