[Vuejs]-How to call the same method once for 2 events in Vue.js?

0👍

whenever you tap your screen , a click event will be executed. you have called same method twice using different events.
What you should do is determine if the input is a touch or a click event using javascript which has been answered here

Leave a comment