* Sets up the location change listener and performs the initial navigation.
()
| 273 | * Sets up the location change listener and performs the initial navigation. |
| 274 | */ |
| 275 | initialNavigation(): void { |
| 276 | this.setUpLocationChangeListener(); |
| 277 | if (!this.navigationTransitions.hasRequestedNavigation) { |
| 278 | this.navigateToSyncWithBrowser( |
| 279 | this.location.path(true), |
| 280 | IMPERATIVE_NAVIGATION, |
| 281 | this.stateManager.restoredState(), |
| 282 | {replaceUrl: true}, |
| 283 | ); |
| 284 | } |
| 285 | } |
| 286 | |
| 287 | /** |
| 288 | * Sets up the location change listener. This listener detects navigations triggered from outside |