SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the directive v-el to save an element and then use it later.
v-el
https://vuejs.org/api/#vm-els
<div v-el:my-div></div> <!-- this.$els.myDiv --->
Edit: This is deprecated in Vue 2, see ??? answer