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.
How to get the "index" to use with removePage()?
mmike last edited by
I want to use removePage(). How do I get the index please? Is there a function to get index?
Thanks for your help!
myNavigator.pages.indexOf(pageElementToBeRemoved). The index can also be a negative value (-1 for the topPage, -2 for the previous one, etc.).