[V4] Router back context

Framework7-Core V4.5.2.

I am trying to send a variable when navigating back, between different Router Page Components, as follows:

this.$app.views.main.router.back('/page-test/',
{
    context:
        {
            testContext: "Prueba!",
        },
});

“this.testContext” returns undefined in the onPageBeforeIn event on the page “page-test”.

I know that “context” works correctly when doing router.navigate but I was wondering if there is any way to pass information between pages when going back.

I hope you can help me. Thank you very much for your time.

Regards, Fabricio.

1 Like

I’d also like to know how to pass data to a previous page to be picked up in a page:reint event handler.