Skip to content

A vue component to make a scrollable element scroll by draging.

Notifications You must be signed in to change notification settings

koucxz/vue-dragscroll-lite

Repository files navigation

vue-dragscroll-lite

A Vue Component enables scrolling via drag.(demo)

Installation

$ npm i vue-dragscroll-lite

How To Use

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
  },
}

Developments

npm run serve

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.

Show Your Support

Please give a ⭐️ if this project helped you!

License

This project is MIT licensed.

About

A vue component to make a scrollable element scroll by draging.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published