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-tabbar... <ons-tab active page="mypage_1.html"... <ons-tab page="mypage_2.html"...