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