@internal
(rootComponentType: Type<any>)
| 263 | |
| 264 | /** @internal */ |
| 265 | resetRootComponentType(rootComponentType: Type<any>): void { |
| 266 | // TODO: vsavkin router 4.0 should make the root component set to null |
| 267 | // this will simplify the lifecycle of the router. |
| 268 | this.routerState.root.component = rootComponentType; |
| 269 | this.navigationTransitions.rootComponentType = rootComponentType; |
| 270 | } |
| 271 | |
| 272 | /** |
| 273 | * Sets up the location change listener and performs the initial navigation. |
no outgoing calls
no test coverage detected