Answer the question
In order to leave comments, you need to log in
How to get data from emit in Vue 3?
<component1 v-for="(item, i) in list" v-on:customevent="func1(i)"> </component1>
Vue.createApp({
methods:{
func1(){
}
}
})
Answer the question
In order to leave comments, you need to log in
https://vueframework.com/docs/v3/ru/ru/guide/event...
See about $event
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question