Answer the question
In order to leave comments, you need to log in
How to pass an element to @click?
There is a list
<li v-for="element in elements">
<button @click="someFunctioin()">Click!</button>
</li>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question