@eddieonthecode/vue-virtual-scrollbar
v1.0.7
Published
```js import { VueVirtualScrollbar } from '@eddieonthecode/vue-virtual-scrollbar'; import '@eddieonthecode/vue-virtual-scrollbar/dist/style.css'; ```
Downloads
24
Readme
vue-virtual-scrollbar
import { VueVirtualScrollbar } from '@eddieonthecode/vue-virtual-scrollbar';
import '@eddieonthecode/vue-virtual-scrollbar/dist/style.css';
<!-- Use CSS Selector -->
<VueVirtualScrollbar
:horizontal="true"
target="#scrollable"
@positionChanged="positionChanged"
>
</VueVirtualScrollbar>
<!-- Use element -->
<VueVirtualScrollbar
style="position: absolute; top: 0; bottom: 0; right: 0"
:horizontal="false"
:target="target"
>
</VueVirtualScrollbar>