Refresher example


#1

Is there a fully working example of a refresher inside of a list tag inside a content tag? More specifically, I’m having trouble figuring out how to stop the refresher from spinning. The “refresh-complete” attribute doesn’t seem to be working properly. Thanks!


#2

I have more or less the same problem. I’m not able to get the on-refresh call fired.


#3

Hey guys, to stop the refresh, you’ll want to trigger an event:

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

Sorry about that, it was changed last week and I must have not updated the docs :frowning:


#4

thanks !! just saw the document updated:
http://ionicframework.com/docs/angularjs/views/content/


#5

Perfect thanks.

What about the “on-refresh” attribute? I tried to put it on the list tag and on the content tag as well but my function call doesn’t get fired.