Question:Hover event is not working in this vue component, I tried to call a function on hover and it worked but I can’t change hover variable directly
Answer:The hover variable actually is changing. I assume you’re inspecting the variable with Vue.js devtools. Unless something in the template is reading the variable, Vue.js devtools won’t automatically update it. To see it change, try reading the variable in your template.
If you have better answer, please add a comment about this, thank you!