Vue UseGesture is a hook that lets you bind richer mouse and touch events to any component or view. With the data you receive, it becomes trivial to set up gestures, and often takes no more than a few lines of code. You can use it stand-alone, but to make the most of it you sh...
import{createApp}from'vue'import{GesturePlugin}from'@vueuse/gesture'importAppfrom'./App.vue'constapp=createApp(App)app.use(GesturePlugin)app.mount('#app') You can nowinteractwith any of yourcomponent,HTMLorSVGelements usingv-dragor any otherdirective. ...
@vueuse/gesture From: To: View package on npmDateDownloadsDownloads per dayClick and drag in the plot to zoom inApr '24May '24Jun '24Jul '24Aug '24Sep '24Oct '24Nov '24Dec '24Jan '25Feb '25Mar '250k1k2k3k4kWeekDownloadsDownloads per weekClick and drag in the plot to ...
🕹 Vue Composables making your app interactive. Contribute to vueuse/gesture development by creating an account on GitHub.
Vue-Gestureis a simple Vue.js gesture events plugin. It runs now under Vue.js 2, which comes from a fork, to see here:https://github.com/bees4ever/vue2-gesture. The old version for Vue.js 1 is not longer available. See the example for how to use this plugin, simply it's now ...
Vue-Gestureis a simple Vue.js gesture events plugin. It runs now under Vue.js 2, which comes from a fork, to see here:https://github.com/bees4ever/vue2-gesture. The old version for Vue.js 1 is not longer available. See the example for how to use this plugin, simply it's now ...
pnpm add @vueuse/gesture In yourVueappentryfile: import{createApp}from'vue'import{GesturePlugin}from'@vueuse/gesture'importAppfrom'./App.vue'constapp=createApp(App)app.use(GesturePlugin)app.mount('#app') You can nowinteractwith any of yourcomponent,HTMLorSVGelements usingv-dragor any other...