I would like to see easy pull-to-refresh behavior find its way into the platform. @briankardell informed me about overscroll-behavior which provides a way to control what happens when the browser encounters a scroll edge. https://drafts.csswg.org/css-overscroll/
Some considerations:
Even with overscroll-behavior, when implementing pull-to-refresh yourself you still need to write complex touch event code with CSS transforms to get the effect. This is harder than what is necessary to get pull to refresh on native platforms.
If you do implement pull-to-refresh yourself it won’t match the native platform’s look because iOS and Android have different UIs for this. Should it match or should it be consistent across environments? Open question.
I would like to start a group to work towards all of the prerequisites required to get a high-level API for pull-to-refresh. Please let me know if there is implementer interest.
@PaulmWatson That is refreshing the page. This issue is to allow developers to create pull-to-refresh animations in live pages, like twitter.com does on mobile.
This would also allow to make pull-to-refresh in sub-areas of a page, which could useful in cases like tablets or even touch-screen desktops where more than one scrollable column (or row) can fit in view.