[Vuejs]-How to get element using $refs in vuejs template 12 October 2023 by thecoderscamp.com 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. [Vuejs]-Mapstate to dynamic state objects of vuex store from the component 0👍 Move your methods isEllipsisActive() to computed and add vue nextTick() to get the DOM. [Vuejs]-Vue2 how to watch a global prototype [Vuejs]-Import custom components package into vue Source:stackexchange.com