:scroll: inspired by iscroll, and it supports more features and has a better scroll perfermance
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:
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
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.
The most common application scenario of BetterScroll is list scrolling. Let's see its HTML:
- ... - ... ...