title: Get element height with Vuejs
body: <p>I want to get the height of a div in order to make the height of another div matching it. I used the method clientHeight, but It doesn't return me the good value (smaller value). Actually, It seems to return a height before all elements are charged.
  After some research online, I tried to put a window.load() to delay until everything is charged but it doesn't work as well. Some ideas ?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>mounted () {
    this.matchHeight()
  },
  matchHeight () {
    let height = document.getElementById('info-box').clientHeight
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="columns"&gt;
    &lt;div class="left-column" id="context"&gt;
    &lt;p&gt;Some text&lt;/p&gt;
    &lt;/div&gt;
    &lt;div class="right-column" id="info-box"&gt;
      &lt;img /&gt;
      &lt;ul&gt;
        some list
      &lt;/ul&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>