feat(ivy): implement the getters of ViewContainerRef (#25174)

BREAKING CHANGE: ViewContainerRef.parentInjector is deprecated without replacement

PR Close #25174
This commit is contained in:
Marc Laval
2018-07-25 18:11:39 +02:00
committed by Igor Minar
parent e99d860393
commit cd89eb8404
7 changed files with 134 additions and 14 deletions

View File

@ -138,6 +138,7 @@ class ViewContainerRef_ implements ViewContainerData {
get injector(): Injector { return new Injector_(this._view, this._elDef); }
/** @deprecated No replacement */
get parentInjector(): Injector {
let view = this._view;
let elDef = this._elDef.parent;