Angular get height of custom component

前端 未结 0 916
别那么骄傲
别那么骄傲 2020-12-29 01:38

I was trying such code:

  @ViewChild(\'footer_endlessblow\')
  footerView: ElementRef;

  ngAfterViewInit(): void {
    console.log(this.footerView.nativeElem         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题