If you liked the video please subscribe to our channel. Visit https://www.excitoninteractive.com/ar... to see the code for this video.
Please join us on:
************************
Facebook - / xcinteractive
Twitter - / xcinteractive
Article Abstract
************************
In this article we add the ability to pop a route off of the route history array
and then use that ability to change the way our back button functions. Up until
now we have used the parent/child relationship between our route entries to
determine where to go when the user presses the back button. Now that we have a
route history that we can push and pop entries from we can follow the route
changes that the user has performed when navigating backwards. With the basic
functionality in place we will finish up by conditionally showing the back button
if the history is not empty and update the way our main navigation buttons are set
as active so that they are properly highlighted for both forward and backward
navigation.
Credits
************************
Clap Along by Audionautix is licensed under a Creative Commons Attribution license https://creativecommons.org/licenses/...
Artist: http://audionautix.com/