Angular Get Height and Width of the component

后端 未结 0 1021
礼貌的吻别
礼貌的吻别 2020-12-17 06:51

I have a component which is manually resized so I\'ve added a listener:

@HostListener(\'window:resize\')
  public detectResize(): void {
    // get height and         


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