1
I PhoneComponent가 어떤 기간에있어서 I은 this.componentRef.instance.containerRef 다음 코드 동적 입력/생성 부착되는 PoneComponent에서액세스를 동적으로 생성 된 입력
createPhone(): void {
const widgetFactory = this._resolver.resolveComponentFactory(PhoneComponent);
this.componentRef =
this.container.createComponent(widgetFactory);
this.componentRef.instance.containerRef = this.container;
}
에 액세스 할 수있다?
사용되는 각 라이프 사이클 방법에 대해 정의되지 않은 항목이 표시됩니다. 모든 라이프 사이클 메소드가 호출되기 전에
감사