Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

topPage in ons-tab structure

  • Greetings,
    how to know the active/displayed ons-page ?

    with simple pages its easy. -> navigator.topPage

    But with ons-tab structure, topPage is “myid” instead of the actual id of (active) mypage_1

    thanks in advance for some ideas.

    <ons-page id="myid">
          <ons-tab active page="mypage_1.html"... 
          <ons-tab        page="mypage_2.html"...