Next scenario:
When I navigate to the third page the back link does not work anymore.
I have a side menu with submenu where I call a page that contains a listview
<a href="/divida_notificar/"> Notifications </a>
When clicked it goes to my router with async:
path: '/ divida_notificar /',
async: function (routeTo, routeFrom, resolve, reject) {
var router = this;
var app = router.app;
app.preloader.show ();
app.request ({'my logic ...'});
app.preloader.hide ();
solve ({
componentUrl: './pages/divida_notificar.html',
}, {context: {
myObj: myobj
}
});
},
Until this moment when I click the menu back is working correctly.
Now when you click on the listview item where you have the link:
<a href="/divide_detail/{{cod}}/"> Detail </a>
I pass the router again with async:
path: '/ divida_detail /: cod /',
async: function (routeTo, routeFrom, resolve, reject) {
var router = this;
var app = router.app;
console.log (routeTo);
var cod = routeTo.params.cod;
app.preloader.show ();
setTimeout (function () {
app.preloader.hide ();
solve ({
componentUrl: './pages/divida_detail.html'
}, {context: {
cod: cod
}
});
}, 2000);
},
At this moment I am inside the detail page, I click on the menu to return again, usually it returns to the page containing the listview.
Now i need return to the homepage by clicking the menu back, but nothing happens, I need to click on my Home to complete the action, where am I going wrong?
I would like to understand more about this feature.
Thank you and strong hug !!