Thursday, March 29, 2018

Did you know you may have activate and deactivate events at a RouterOutlet tag in an Angular 4 app?

This has this example:

<router-outlet
   (activate)='onActivate($event)'
   (deactivate)='onDeactivate($event)'></router-outlet>

No comments:

Post a Comment