My name in Martin.
I’m currently working on a project using Ionic, it’s been a great experience so far and I think it’s improving fast.
The community is also really helpful. This is my first post but I’ve been reading a lot here.
Thanks to all the team for your great work!
Anyway, for my app I needed a “pull to refresh” component that worked with native scrolling (using the latest beta) and with different styling that the one provided (more similar to android’s gmail, ie. without scrolling the list).
So I built a bower component, which can be reused. It’s not 100% finished, and any suggestions are welcome.
I know the “arrow” and “animation” examples are not very pretty and polished, they are WIP.
Here i have a suggestion, I take this demo in my desktop browser, and if i try to drag and release, it refresh the list correctly and works well.
However, i think it is better to fix the mos-refresher at top when refresh event wasn’t complete and user try to scroll the list.
Thanks for you feedback!
I think you have a point, I implemented your suggestion.
I also changed the hide animation to scale to zero (similar to gmail’s refresher), as it’s easier to handle when you scroll down (and looks nice as well).