Say I have a page with a public method called foo(). From that page, I navigate to a new page using nav.push(). How would I be able to run foo() from the second page?
You can call methods on components using app.getComponent, but unfortunately, getComponent doesn’t seem to be able to return page components.
So is there any way of doing something like this: