Wondering what’s next for npm?Check out our public roadmap! »

better-scrollTypeScript icon, indicating that this package has built-in type declarations

2.1.4 • Public • Published

better-scroll

中文文档

BetterScroll with full plugin capabilities, don't care about the details of various plugin registrations.

Usage

import BScroll from 'better-scroll'

const bs = new BScroll('.wrapper', {
  pullUpLoad: true,
  scrollbar: true,
  pullDownRefresh: true
  // and so on
})

Install

npm i better-scroll

DownloadsWeekly Downloads

8,124

Version

2.1.4

License

MIT

Unpacked Size

591 kB

Total Files

9

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar