Angular Tips and Tricks
Router Configuration Details:
export class AppRoutingModule {
// inspect router configuration and auth guard configs
constructor(router: Router) {
console.log("Routes: ", JSON.stringify(router.config, undefined, 2));
}
}
{enableTracing: true}
{preloadingStrategy: PreloadAllModules})
Enable Tracing
RouterModule.forRoot(appRoutes,{enableTracing: true}
{preloadingStrategy: PreloadAllModules})
Control Value Accessor
A ControlValueAccessor acts as a bridge between the Angular forms API and a native element in the DOM.[1]
No comments:
Post a Comment