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.
- Import it at
vue
project.
Usage
Using thev-slimscroll
directive
``` html
<div v-slimscroll>
...
</div>
```
Using directive with options
``` html
<div v-slimscroll="options">
...
</div>
```
The options
is same as jQuery version. See their documentation