0.1.0 • Published 4 years ago

vue-dragscroll-lite v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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.