You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

275 B

@better-scroll/pull-down

为 BetterScroll 注入下拉刷新的能力。

使用

import BScroll from '@better-scroll/core'
import Pulldown from '@better-scroll/pull-down'
BScroll.use(Pulldown)

const bs = new BScroll('.wrapper', {
  pullDownRefresh: true
})