title: Angular Get Height and Width of the component
body: <p>I have a component which is manually resized so I've added a listener:</p>
  <pre><code>@HostListener('window:resize')
    public detectResize(): void {
      // get height and width of the component
      this.theHeight = // the coponent height
      this.theWidth = // the coponent height
    }
  
   theHeight = '';
   theWidth = '';
  </code></pre>
  <p>How can I get the Height and Width of the component?</p>