(router: Router, fn: Function)
| 605 | }); |
| 606 | |
| 607 | function onNavigationEnd(router: Router, fn: Function) { |
| 608 | router.events.subscribe((e) => { |
| 609 | if (e instanceof NavigationEnd) { |
| 610 | fn(); |
| 611 | } |
| 612 | }); |
| 613 | } |
| 614 | |
| 615 | function provideNavigationEndAction(fn: Function) { |
| 616 | return { |
no test coverage detected