[Vuejs]-How to get element using $refs in vuejs template

0👍

You should try this concept with nextTick (nextTick is a comfortable way to execute a function after the data has been set and the DOM has updated.)

you can checkout the example here.

0👍

Move your methods isEllipsisActive() to computed and add vue nextTick() to get the DOM.

Leave a comment