Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] @uni/pull-down-refresh Web下增加关闭 PullDownRefresh 的方法 #270

Open
cytle opened this issue Mar 23, 2022 · 0 comments
Open

Comments

@cytle
Copy link

cytle commented Mar 23, 2022

问题

在 Web 下, @uni/pull-down-refresh 提供了 onPullDownRefresh

现有代码对下拉处理不是全局单实例的,看起来目前只能开启全局的下拉和增加监听,无法移除下拉和删除监听
https://github.com/raxjs/universal-api/blob/master/src/packages/interactive/pullDownRefresh/src/web/onPullDownRefresh.ts#L184-L190

期望

  1. 期望支持关闭页面下拉功能
  2. 期望支持移除下拉监听事件功能
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant