Vote count:
0
Is it possible to have a ons-navigator defined in a page loaded by another ons-navigator ?
I'd like to organize my project in files where one file is a "logical function" with all the pages related to that function defined as templates. But if I define anything other than the ons-page it gives me
Error: You can not supply no "ons-page" element to "ons-navigator".
I'd like to have something like this:
index.html:
<ons-navigator var="mainNavigator" page="book"></ons-navigator>
book.html:
<ons-navigator var="bookNavigator" page="bookone"></ons-navigator>
<ons-template id="bookone">
<ons-page>
<h1>bookone</h1>
</ons-page>
</ons-template>
Thanks for any help
asked 1 min ago
ons-navigator in a sub page loaded by a ons-navigator
Aucun commentaire:
Enregistrer un commentaire