Friday, March 13, 2015

Ionic RC0: New Swipe to Go Back Feature

Last week at ng-conf, we announced Ionic RC0, which includes several new features about which we’re really excited.


The first one, a feature near and dear to my heart, is Swipe to Go Back. Ionic now uses interactive transitions, rather than just static animations. Swipe to Go Back works the same way the back button does, animating the nav bar title and back buttons. You can swipe from the left of a page to go back to the previous page. Letting go at certain points of the transition will cause the view to either snap back or complete the navigation.


This feature, which is common in native iOS apps, is only offered for iOS, because Android doesn’t do this. It’s only in Cordova, because standard mobile browsers provide their own swipe to go back capabilities. The URL still changes and is no different than any other navigation with the same lifecycle events.


Watch the video of my presentation where I talk about Swipe to Go Back:


For more on the Ionic community's response to Swipe to Go Back and RCO, check out Sani Yusuf's post on Medium.com.




by via Ionic Framework

No comments:

Post a Comment