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

Pull to refresh use? #17

Open
JeremyColton opened this issue Oct 27, 2016 · 2 comments
Open

Pull to refresh use? #17

JeremyColton opened this issue Oct 27, 2016 · 2 comments

Comments

@JeremyColton
Copy link

Hi,

In the /dist/InfiniteList.js there's a Scroller class that has a activatePullToRefresh API.

How can I use this in the infinite list?

Many thanks.

@roeierez
Copy link
Owner

HI Jeremy,
Unfortunately currently there is no support now for pullToRefresh.
The code you have found was due to an unused left dependency and I will clean it.
Sorry for that.
To implement that I am thinking about exposing two callbacks:

renderPullToRefreshItem(domElement, componentState)
onRefresh()

Both of them will be called by the list.
Does this sound good? or you have a better idea?
To be honest I am not so available these days but I will try my best.

@JeremyColton
Copy link
Author

Hi, that sounds great! Are you able to write it or it's just an idea? I really need this feature.

On Oct 28, 2016, at 1:18 PM, Roei Erez [email protected] wrote:

HI Jeremy,
Unfortunately currently there is no support now for pullToRefresh.
The code you have found was due to an unused left dependency and I will clean it.
Sorry for that.
To implement that I am thinking about exposing two callbacks:

renderPullToRefreshItem(domElement, componentState)
onRefresh()

Both of them will be called by the list.
Does this sound good? or you have a better idea?
To be honest I am not so available these days but I will try my best.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Untracked with Trackbuster

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

2 participants