I try to make a little app in ionic2
to learn about it but I have a problem with navigation.
In fact I have well understand the difference between a rootpage
(change whit nav.setRoot
) and a "normal" page (add with nav.push
). The thing is for my app I'll need to be able to open a side menu (this is ok if I'm on a rootpage
but not it's not ok with the second type of page) and to be able to go back (this is ok with a push page but not with a rootpage).
So for me this type of page should be push and not a root page but how repear side menu on this type of page?
Thank you.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…