vue中v-touch事件用法

vue中v-touch事件用法 1.先下载 cnpm install vue-touch@next --save dev 2.在main.js引入 import VueTouch from 'vue-touch' Vue.use(VueTouch, { name: 'v-touch' }) 3.用法 <v-touch v-on:swipeup="goRegister"> <img src="
相关文章
相关标签/搜索