I have a multi view app:
var mainView = app.views.create('.view-main', {
stackPages:true
});
var categoriesView = app.views.create('#view-categories', {
stackPages:true
});
var discoverView = app.views.create('#view-discover', {
stackPages:true
});
var searchView = app.views.create('#view-search', {
stackPages:true
});
var pagesView = app.views.create('#view-pages', {
stackPages:true
});
and my app configuration is bellow:
var app = new Framework7({
root: '#app',
theme: 'ios',
tapHold: true,
pushState: true,
domCache: true,
swipeout: {
noFollow: true,
removeElements: false,
},
sheet: {
backdrop:true
},
allowDuplicateUrls:true,
init: false,
on: {
pageInit: function (e, page) { etc.
My problem : If i’m in page1.html?abc=1 and then click in other page with the same url but with different params (page1.html?abc=2), ajax doesnt load.
(page1.html?abc=1 is a product page and has related products inside that have unique ids (abc=number)).
When i click to them I want to go to their page (page1.html?abc=something) and in DOM i want to have page1.html?abc=1->page1.html?abc=2.
Is that possible?
In other words same page url with different params saved in DOM.