Answer the question
In order to leave comments, you need to log in
How to determine where the click happened in vue?
Hello.
Tell me how to determine the click target in the view?
Answer the question
In order to leave comments, you need to log in
<button type="button" @click="handler"></button>
handler(e) {
console.log(e.target);
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question