* This should fire off `ChildActivationStart` 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 `ChildActivationStart` for both. Always * return * `true`
( snapshot: ActivatedRouteSnapshot | null, forwardEvent?: (evt: Event) => void, )
| 137 | * `true` so checks continue to run. |
| 138 | */ |
| 139 | function fireChildActivationStart( |
| 140 | snapshot: ActivatedRouteSnapshot | null, |
| 141 | forwardEvent?: (evt: Event) => void, |
| 142 | ): Observable<boolean> { |
| 143 | if (snapshot !== null && forwardEvent) { |
| 144 | forwardEvent(new ChildActivationStart(snapshot)); |
| 145 | } |
| 146 | return of(true); |
| 147 | } |
| 148 | |
| 149 | function runCanActivate( |
| 150 | futureRSS: RouterStateSnapshot, |
no outgoing calls
no test coverage detected
searching dependent graphs…