Answer the question
In order to leave comments, you need to log in
How to get the element on which the event occurred in VUE?
there is a block with layout inside, an event is attached to this block
<div v-on:click="fs(1, $event)">
<p>123 </p>
<button>666</button>
</div >
Answer the question
In order to leave comments, you need to log in
https://developer.mozilla.org/ru/docs/Web/API/Even...
$event in Vue just throws the native event object
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question