Answer the question
In order to leave comments, you need to log in
Why doesn't @mouseover binding work in a loop?
<nuxt-link tag="article" :to="`${element.slug}`" v-for="(element, index) in articles" class="element-item" :key="index" @mouseover="hoverAction">
mouseover
does not work on these elements. Answer the question
In order to leave comments, you need to log in
because you need to pass a parameter to hoverAction, otherwise, what do you want to point the mouse at?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question