vuescroll

A powerful, customizable, multi-mode scrollbar plugin based on Vue.js
493,880 1,277
Install
npm install vuescroll@5.1.1
Latest Version:5.1.1
Vue:3
Older releases:2
License:MIT
Last Updated:Aug 5, 2024
Links: GitHub  ·  npm
Maintainer: wangyi7099

Vuescroll

VersionBuild Status Coverage License Download prettier

Demo

Introduction

Vuescroll is a scrollbar plugin based on Vue.js 2.X, it is very easy to use, no complex options and each option has its default value(It means you don't even have to write any configuration). Just wrap the content by <vue-scroll> and a custom scrollbar will show. It supports:

  • Customizable scrollbar
  • Pull-to-refresh, push-to-load
  • Carousel

Compatibility

vue version vuescroll version
2.x <=4.X
3.x >=5.0.0

Demo

  • You can find demo under examples folder of repo.
  • You can see the full features of vuescroll at Live Demo section of the website.

Install

npm i vuescroll -S

# OR

yarn add vuescroll

Usage

Import and registry

For vue2.x
import vuescroll from 'vuescroll';
import Vue from 'vue';

Vue.use(vuescroll, {
  ops: {
    // The global config
  },
  name: 'myScroll' // customize component name, default -> vueScroll
});

// OR

Vue.component('vue-scroll', vuescroll);
For vue3.x
import { createApp } from 'vue';
import vuescroll from 'vuescroll';

const app = createApp(App);

// You can set global config here.
app.use(vuescroll, {
  ops: {
    // The global config
  },
  name: 'myScroll' // customize component name, default -> vueScroll
});

Wrap the content by vue-scroll

<div class="container">
  <vue-scroll>
    <div class="content"></div>
  </vue-scroll>
</div>

Documentation

For detailed docs, please see Guide section on the website.

Communication

  • Wechat
Demo
  • Twitter

@wangyi70991

License

MIT By Yves Wang(Wangyi Yi)

Related Packages

vue-nice-scrollbar

a nice scrollbar for vue.js

8,148 14
vue-scrollbar-simple

A vue component of scrollbar

13,094
vuepress-theme-vuescroll

Allow you to customize scrollbars in Vuepress

1,370 1
vue2-perfect-scrollbar

Vue.js wrapper for perfect scrollbar

932,516 274
beautify-scrollbar

Beautify browser's scrollbars

19,600 12

Version History

Version Released License
5.1.1 MIT
5.1.0 MIT
5.0.2 MIT
5.0.1 MIT
5.0.0 MIT
Pre-releases (34)
Version Released License
4.15.0-beta.1 MIT
4.13.0-beta MIT
4.12.0-rc.1 MIT
4.12.0-rc MIT
4.9.7-rc.2 MIT