Passing event and argument to v-on in Vue.js

前端 未结 3 1377
青春惊慌失措
青春惊慌失措 2020-12-04 09:37

I pass a parameter in v-on:input directives. If I don\'t pass it, I can access the event in the method. Is there any way I can still access the event when passi

3条回答
  •  抹茶落季
    2020-12-04 10:25

    Depending on what arguments you need to pass, especially for custom event handlers, you can do something like this:

    Hello!

提交回复
热议问题