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 (opens new window), 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. BetterScroll provides a class whose first parameter is a plain DOM object when instantiated. Certainly, BetterScroll inside would try to use querySelector to get the DOM object. In BetterScroll 2.X, we split the 1.X-coupled feature into the plugin to achieve on-demand loading and reduce the volume of the package. Therefore, @better-scroll/core only provides the most core scrolling capabilities. If you want to implement the pull-up load, pull-down refresh function, you need to use the corresponding [plugin] (/en-US/plugins).

Features

  • Aimed at solving scrolling on the mobile side (PC supported already)
  • Based on native JS implementation, it does not depend on any framework
  • Perfect for Vue, React and other MVVM frameworks
  • Plugin support, such as Picker, PullUpLoad, PullDownRefresh, Zoom, etc.
  • Mouse-Supports Wheel, Slide, Movable, Indicators, Parallax Scrolling, Magnifier and so on
  • Pluggable, with smooth scrolling effect, and zero dependence

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow BetterScroll

BetterScroll Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of BetterScroll!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

TypeScript

Related Categories

TypeScript Mobile Software, TypeScript Browser Extensions and Plugins

Registered

2021-04-13