Fancy Pull to Refresh


#1

How would you implement this in Ionic?


:blush::blush::blush:


#2

Nothing like that yet, though it is a great idea. Right now our PTR is more of a nice middle ground between ios and android.


#3

Hi Bro, Can you tell me please? How to build fancy pull with ionic? example…


#4

Just put this in your template

<ion-refresher pulling-text="Pull to refresh..." on-refresh="model.loadData()"></ion-refresher>

model.loadData() is the function that you trigger.

And this in when you want to finish it

$scope.$broadcast('scroll.refreshComplete');


#5

Thanks bro. but i want to add plugin Fancy Pull to Refresh in ionic. How should i do?
Plugin: https://github.com/baoyongzhang/android-PullRefreshLayout