1.0.2 • Published 3 years ago

vue3-dragscroll v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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>