I have navigator like
page1->page2->page3
when i back from page3 to page2, page1 initialise event fire automatically.
Interesting point is when i back from page2 to page1 it is not not firing.
I have navigator like
page1->page2->page3
when i back from page3 to page2, page1 initialise event fire automatically.
Interesting point is when i back from page2 to page1 it is not not firing.
Everything is correct because there are two pages in DOM. You may need to use pageBeforeIn
event instead of pageInit
Thanks allot for this solution. one more thing when i back from page3<page2<page1, page1 content reset it is not maintained in cashe
It is by design. If you need to keep pages in DOM, you can enable stackPages
view’s parameter
Yes i used stackPages also but i found the issue when i navigate page1>page2>page3>page4,
it works good upto page3 and page4 display but page4 page:init event contain ajax code and other jquery code not execute.