A Vue Component enables scrolling via drag.(demo)
$ npm i vue-dragscroll-lite
Template:
<drag-scroll
class="dragscroll"
>
<div class="dragscroll-inner">Vue DragScroll!</div>
</drag-scroll>
Script:
import DragScroll from '@/components/DragScroll.vue'
export default {
components: {
DragScroll
},
}
Runs the app in the development mode.
Open http://localhost:8080 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Please give a ⭐️ if this project helped you!
This project is MIT licensed.