npm i -S vue2-touch-events // or yarn add vue2-touch-events Usage importVuefrom'vue'importVue2TouchEventsfrom'vue2-touch-events'Vue.use(Vue2TouchEvents) In your.vuefile: <!-- bind a tap event -->Tap Me<!-- tap is the default event, you can omit it -->Tap Me<!-- bind th...
INSTALL Version: Static Open in jsfiddle Learn more ReadmeFilesStatisticsBrowse CDN Statistics Requests0 Bandwidth0 Top version -0 vue2-touch-events Files are loading... Selected files No files selected. Select the files you want to use using the switches on the left....
I had to change this Vue.use(Vue2TouchEvents) as you have in your readme.md to Vue.use(vueTouchEvents) because in your index.js you export vueTouchEvents
Using thevue-gesturecomponent WARNING: You may have to use if you installed the npm version You can add a single event with thetypeparameter or you add a set of events with thetypesparameter which is a javascript array. <vue-gesture:type="'touchstart'":call="handleComponent.bind(this,'to...
I am using Vue3 + Typescript (Vite), initialising the plugin in main.ts like this: import { createApp } from 'vue' import App from "./App.vue" import Vue3TouchEvents from "vue3-touch-events"; const app = createApp(App); app.use(Vue3Touch...