vue-slimscroll
Vue-slimscroll is a directive plugin for Vue.js, which can transforms any div into a scrollable area with a nice scrollbar.
The original jQuery version is herehttps://github.com/rochal/jQuery-slimScroll.
Install
- Install it by using npm.
npm i vue-slimscroll
- Import it at
vue
project.
...Vue
Usage
Using the v-slimscroll
directive
...
Using directive with options
...
The
options
is same as jQuery version. See their documentation