$ npm install vue3-dragscroll Then, in your JavaScript file: // Register dragscroll globallyimportVue3Dragscrollfrom'vue3-dragscroll'Vue.use(Vue3Dragscroll) Usage Add thev-dragscrolldirective to a scrollable el
$ npm install vue3-dragscroll ``` Then, in your JavaScript file: ```js // Register dragscroll globally import Vue3Dragscroll from 'vue3-dragscroll' Vue.use(VueDragscroll) ``` ## Usage Add the `v-dragscroll` directive to a scrollable element: ```html Big text goes here... ```...
Star4 Files master lib node_modules src .gitignore GIF.gif README.md index.html index.js package-lock.json package.json vite.config.ts Breadcrumbs vue3-dragscroll / Latest commit xky feat: 增加demo May 9, 2023 0a21f4e·May 9, 2023 ...
A directive to make a scrollable element scroll by draging to the scroll direction - vue3-dragscroll/index.html at master · Aseisman/vue3-dragscroll