MCPcopy
hub / github.com/angular/angular / onNavigationEnd

Function onNavigationEnd

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

Source from the content-addressed store, hash-verified

613});
614
615function onNavigationEnd(router: Router, fn: Function) {
616 router.events.subscribe((e) => {
617 if (e instanceof NavigationEnd) {
618 fn();
619 }
620 });
621}
622
623function provideNavigationEndAction(fn: Function) {
624 return {

Callers 1

Calls 2

subscribeMethod · 0.65
fnFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…