Answer the question
In order to leave comments, you need to log in
How to access the same ref for multiple elements?
There is a component in which ref is assigned
<video ref="player">
...
</video>
Uncaught TypeError: Cannot read property 'getBoundingClientRect' of undefined
this.$refs.player.getBoundingClientRect().top
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question