I am trying to find the height of div in Vuejs,

```
let height = this.$refs.infoBox.clientHeight()+'px';

```

it gives me an error saying that I cannot find the client height of `null` / `undefined`.