Vuescroll
A customizable scrollbar plugin based on vue.js for PC , mobile phone, touch screen, laptop.
Install / Use
/learn @YvesCoding/VuescrollREADME
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
License
MIT By Yves Wang(Wangyi Yi)
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
