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.
16 lines
275 B
16 lines
275 B
4 years ago
|
# @better-scroll/pull-down
|
||
|
|
||
|
为 BetterScroll 注入下拉刷新的能力。
|
||
|
|
||
|
## 使用
|
||
|
|
||
|
```js
|
||
|
import BScroll from '@better-scroll/core'
|
||
|
import Pulldown from '@better-scroll/pull-down'
|
||
|
BScroll.use(Pulldown)
|
||
|
|
||
|
const bs = new BScroll('.wrapper', {
|
||
|
pullDownRefresh: true
|
||
|
})
|
||
|
```
|