vue get height of element ref

JavaScript
 mounted () {
   this.matchHeight()
 },
 matchHeight () {
   let height = this.$refs.infoBox.clientHeight;
 }
Source

Also in JavaScript: