()
| 177 | readonly currentNavigation = this.navigationTransitions.currentNavigation.asReadonly(); |
| 178 | |
| 179 | constructor() { |
| 180 | this.resetConfig(this.config); |
| 181 | |
| 182 | this.navigationTransitions.setupNavigations(this).subscribe({ |
| 183 | error: (e) => { |
| 184 | // Note: This subscription is not unsubscribed when the `Router` is destroyed. |
| 185 | // This is intentional as the `Router` is generally never destroyed. |
| 186 | // If it is destroyed, the `events` subject is completed, which cleans up this subscription. |
| 187 | }, |
| 188 | }); |
| 189 | this.subscribeToNavigationEvents(); |
| 190 | } |
| 191 | |
| 192 | private eventsSubscription = new Subscription(); |
| 193 | private subscribeToNavigationEvents() { |
nothing calls this directly
no test coverage detected