Breaking Change : Ion Refresher (Pull To Refresh)

In order to support new functionality for the pull to refresh feature, the nightlies have a breaking change.

If you are using pull to refresh, you must change your code.

Old :

<ion-content on-refresh="onRefresh()"
  on-refresh-opening="onRefreshOpening()">
  <ion-refresher></ion-refresher>
</ion-content>

New:

<ion-content>
  <ion-refresher on-refresh="onRefresh()"
    on-pulling="onRefreshOpening()">
  </ion-refresher>
</ion-content>

Here is a working sample: http://codepen.io/ionic/pen/mqolp

3 Likes

This topic is now pinned. It will appear at the top of its category until it is either unpinned by a moderator, or the Clear Pin button is pressed.