better-scroll

Full-featured BetterScroll

Usage no npm install needed!

<script type="module">
  import betterScroll from 'https://cdn.skypack.dev/better-scroll';
</script>

README

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
})