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

Function provideNavigationEndAction

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

Source from the content-addressed store, hash-verified

613}
614
615function provideNavigationEndAction(fn: Function) {
616 return {
617 provide: ENVIRONMENT_INITIALIZER,
618 multi: true,
619 useValue: () => {
620 onNavigationEnd(inject(Router), fn);
621 },
622 };
623}

Callers 1

bootstrap.spec.tsFile · 0.85

Calls 2

injectFunction · 0.90
onNavigationEndFunction · 0.85

Tested by

no test coverage detected