This would actually be super helpful. Whenever a user loads my page for the first time, I need to hit the API and pull in my list. I would love to display a loading spinner while that refresh happens.
Then, later, I also want users to be able to manually refresh the list with a pull-to-refresh. This should also display the loading spinner.
Currently, I need 2 separate loading spinners in order to achieve this, because I cannot manually trigger pull-to-refresh to display. Yes, I can use the same function in the controller to make the actual API call, but I need two spinners in my template for this to work! Wouldn’t it be nice if I could just call $ionRefresher.pull()
on first page load, and have it take care of everything?