weixin-pull-control
1.0.5 • Public • Published Intro
微信下拉控制,禁用&启用微信下拉效果,如下图所示。
Api
- pullControl.disable():禁用微信下拉
- pullControl.enable():启用微信下拉
Install
$ npm install weixin-pull-control --save
Example
import pullControl from 'weixin-pull-control'
// 禁用微信下拉
pullControl.disable()
// 10 秒后启用
setTimeout(() => {
pullControl.enable()
}, 10000)
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.5
3
Version History
Package Sidebar
Install
npm i weixin-pull-control
Weekly Downloads