Answer the question
In order to leave comments, you need to log in
How to catch markup load event in Vue.js?
I have several blocks
<div v-if="stage == 0">
...
</div>
<div v-else-if="stage == 1">
<div class="elem"></div>
...
</div>
// при каком-то событии делаю:
this.stage = 1;
let elem = document.querySelector('.elem');
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