page.data usage with tabs



  • Hi

    I have been using splitter and navigator so far switching pages and loading them onto the navigator.pages stack . For each page I have init and show controllers, from which I use page.data object. Now I try to introduce tabbar and tabs.

    There is a show and init controller associated with each tab page. There also I want to access page.data. However, this object is not available. I think the reason is that the tab page is not added to the navigator.pages stack. Is this a desired behavior? What is the concept I am missing, that would allow me to pass page.data between the tabs pages?

    Thank you!

    onsen 2.0.5 with plain javascript
    Testing in a browser


Log in to reply