MCPcopy Create free account
hub / github.com/angular/angular / onNavigationEnd

Function onNavigationEnd

packages/router/test/bootstrap.spec.ts:607–613  ·  view source on GitHub ↗
(router: Router, fn: Function)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 2

subscribeMethod · 0.65
fnFunction · 0.50

Tested by

no test coverage detected