title: How do I programmatically set the width of a HTMLElement?
body: <pre><code>refs: {
      someElement: HTMLDivElement;
  };
  
  this.$refs.someElement.clientWidth = 100;
  </code></pre>
  
  <p>I am getting:</p>
  
  <blockquote>
    <p>Cannot assign to 'clientWidth' because it is a constant or a read-only property.</p>
  </blockquote>
  
  <p>or</p>
  
  <blockquote>
    <p>Cannot assign to 'offsetWidth' because it is a constant or a read-only property.</p>
  </blockquote>