vue3-dragscroll
v1.0.2
Published
a dragscroll directive for vue3; to make a scrollable element scroll by draging to the scroll direction
Downloads
202
Maintainers
Readme
Installation
npm
$ npm install vue3-dragscroll
Then, in your JavaScript file:
// Register dragscroll globally
import Vue3Dragscroll from 'vue3-dragscroll'
Vue.use(VueDragscroll)
Usage
Add the v-dragscroll
directive to a scrollable element:
<div v-dragscroll>
Big text goes here...
</div>