Navigate a user to the screen they previously viewed
It’s possible to go to the previous screen simply by using the code below. This takes the user to the previously visited screen.
JavaScript
Fliplet.Navigate.back();
As a further example, to run this when a button (with a class of “back-button”) is clicked, we can use the code in the following way:
JavaScript
$('.back-button').on('click', function () {
Fliplet.Navigate.back();
});
You can find more information on the navigation API options available here.