Revert "refactor(router): remove deprecated `RouterOutlet` properties (#18781)"
This reverts commit d1c4a94bbf
.
This commit is contained in:
parent
d1c4a94bbf
commit
7236095f6f
|
@ -72,6 +72,11 @@ export class RouterOutlet implements OnDestroy, OnInit {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @deprecated since v4 **/
|
||||||
|
get locationInjector(): Injector { return this.location.injector; }
|
||||||
|
/** @deprecated since v4 **/
|
||||||
|
get locationFactoryResolver(): ComponentFactoryResolver { return this.resolver; }
|
||||||
|
|
||||||
get isActivated(): boolean { return !!this.activated; }
|
get isActivated(): boolean { return !!this.activated; }
|
||||||
|
|
||||||
get component(): Object {
|
get component(): Object {
|
||||||
|
|
|
@ -409,6 +409,8 @@ export declare class RouterOutlet implements OnDestroy, OnInit {
|
||||||
readonly component: Object;
|
readonly component: Object;
|
||||||
deactivateEvents: EventEmitter<any>;
|
deactivateEvents: EventEmitter<any>;
|
||||||
readonly isActivated: boolean;
|
readonly isActivated: boolean;
|
||||||
|
/** @deprecated */ readonly locationFactoryResolver: ComponentFactoryResolver;
|
||||||
|
/** @deprecated */ readonly locationInjector: Injector;
|
||||||
constructor(parentContexts: ChildrenOutletContexts, location: ViewContainerRef, resolver: ComponentFactoryResolver, name: string, changeDetector: ChangeDetectorRef);
|
constructor(parentContexts: ChildrenOutletContexts, location: ViewContainerRef, resolver: ComponentFactoryResolver, name: string, changeDetector: ChangeDetectorRef);
|
||||||
activateWith(activatedRoute: ActivatedRoute, resolver: ComponentFactoryResolver | null): void;
|
activateWith(activatedRoute: ActivatedRoute, resolver: ComponentFactoryResolver | null): void;
|
||||||
attach(ref: ComponentRef<any>, activatedRoute: ActivatedRoute): void;
|
attach(ref: ComponentRef<any>, activatedRoute: ActivatedRoute): void;
|
||||||
|
|
Loading…
Reference in New Issue