BetterScroll

inspired by iscroll, and it has a better scroll perfermance

示例

DEMO


better-scroll 的源码是基于 Webpack 构建的

首先,clone项目源码

1
git clone https://github.com/ustbhuangyi/better-scroll.git

安装依赖

1
2
cd better-scroll
npm install

测试demo页

1
npm run dev

打开浏览器访问如下地址, 查看效果

localhost:9090