Github url


by ustbhuangyi

ustbhuangyi /better-scroll

:scroll: inspired by iscroll, and it supports more features and has a better scroll perfermance

12.5K Stars 2.3K Forks Last release: over 1 year ago (v1.15.0) MIT License 1.5K Commits 64 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


npm version npm next Version downloads Build StatusPackage Quality


1.x Docs

2.x Docs

Note: The following code is the syntax of




npm install better-scroll -S # install 1.x npm install [email protected] -S # install 2.x,with full-featured plugin.

or include it directly via CDN

<script src=""></script>

What is BetterScroll ?

BetterScroll is a plugin which is aimed at solving scrolling circumstances on the mobile side (PC supported already). The core is inspired by the implementation of iscroll, so the APIs of BetterScroll are compatible with iscroll on the whole. What's more, BetterScroll also extends some features and optimizes for performance based on iscroll.

BetterScroll is implemented with plain JavaScript, which means it's dependency free.

Getting started

The most common application scenario of BetterScroll is list scrolling. Let's see its HTML:

- ...
- ...

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.