获取ng-template元素的对应类型是templateRef,ng-container的对应类型是ViewContainerRef。 ... ngAfterViewInit(): void { /* const view = this.firstTpl.
確定! 回上一頁