MCPcopy Index your code
hub / github.com/angular/angular / fireActivationStart

Function fireActivationStart

packages/router/src/operators/check_guards.ts:121–129  ·  view source on GitHub ↗

* This should fire off `ActivationStart` events for each route being activated at this * level. * In other words, if you're activating `a` and `b` below, `path` will contain the * `ActivatedRouteSnapshot`s for both and we will fire `ActivationStart` for both. Always * return * `true` so checks

(
  snapshot: ActivatedRouteSnapshot | null,
  forwardEvent?: (evt: Event) => void,
)

Source from the content-addressed store, hash-verified

119 * `true` so checks continue to run.
120 */
121function fireActivationStart(
122 snapshot: ActivatedRouteSnapshot | null,
123 forwardEvent?: (evt: Event) => void,
124): Observable<boolean> {
125 if (snapshot !== null && forwardEvent) {
126 forwardEvent(new ActivationStart(snapshot));
127 }
128 return of(true);
129}
130
131/**
132 * This should fire off `ChildActivationStart` events for each route being activated at this

Callers 1

runCanActivateChecksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…