* Called when the `RouteReuseStrategy` instructs to re-attach a previously detached subtree
(ref: ComponentRef<any>, activatedRoute: ActivatedRoute)
| 361 | * Called when the `RouteReuseStrategy` instructs to re-attach a previously detached subtree |
| 362 | */ |
| 363 | attach(ref: ComponentRef<any>, activatedRoute: ActivatedRoute): void { |
| 364 | this.activated = ref; |
| 365 | this._activatedRoute = activatedRoute; |
| 366 | this.location.insert(ref.hostView); |
| 367 | this.inputBinder?.bindActivatedRouteToOutletComponent(this); |
| 368 | this.attachEvents.emit(ref.instance); |
| 369 | } |
| 370 | |
| 371 | deactivate(): void { |
| 372 | if (this.activated) { |
no test coverage detected