PageObject[] getCurrentPages()

View Markdown

Last edited on 2026-04-16

Retrieves the current page stack. The first element in the array is the homepage, and the last element is the current page.

Notes

  • Do not attempt to modify the page stack, as it will cause routing and page state errors.
  • Do not call getCurrentPages() during App.onLaunch, as the page has not yet been created.