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.
@jokorivai Yep, if you check the section right after the one that @munsterlander linked, Overriding default component handler, you can find the exact answer to your question. Notice that when it says
navigatorit means your
Is it expected that every
bringPageTop) will fire a
initevent, even if the page has been put on the stack already?
Oh, I figured it out that every time I use the “Back” button (
ons-back-button), the page is popped from the stack and removed from the DOM.
Now, the problem is that I am building a “multistep” signup form, so the user should be able to go back and forth of these steps.
Maybe the Navigator is not the ideal component for that? Should I use a carousel maybe?
@claudioc Navigator is better. You can save your data on
hide) event and put it back on
@Fran-Diox yeah, at the end I am doing exactly that. I was almost OK also with the carousel though. My findings (should some else have the same ideas):
- Carousel can be embedded in a page, which means that the “header” stays put when you change from on item to the other. With a page, the toolbar moves with it
- Carousel can only use the slide animation (or
none). Cannot use the
liftwhich I need for a couple of interactions in the form (“Read Terms and Conditions”, for example)
- I find the Carousel API a bit nicer (I’d like to have the
prevmethod on the navigation stack, for example). Navigation API are a bit confusing
Anyway, it’s amazing how one can be productive with OnsenUI guys. I am so happy to have started to use it. Thanks!
habib last edited by
I have 2 tab bar and first tab bar have a list in page and i want to click the list for display the list detail in detail-list page with form tab bar , Can I ? Please help me !
sahizbadafahad1 last edited by sahizbadafahad1
I am using ons-sliding menu i want to use one-navigator inside the ons-sliding menu, i want to push page from ons-sliding menu, but when i push the page the page is push but the menu remain open
how can i fix it ?
@Fran-Diox Thank you for reply
Yes its working thank you, but it navigate me the two pages, the one where i stay and the another which i put in push page
How to set the animation speed of ons-navigator when we push the page ?
@Fran-Diox Thanks you its working