0👍
I don’t know if this is the best answer, but what I did was:
document.getElementById("elementId").style.display = this.style.display
So I just update the style object and you can work with it the way you want, everytime you update the style property, the elementId style will update too.
If I wasn’t clear enough I can reformulate my explanation.
- [Vuejs]-Requirejs with vue.js will raise "Vue is not defined"
- [Vuejs]-Webpack isn't resolving modules even though stipulated in rules
Source:stackexchange.com