NavController.goForward() Query Params

You could make a route in your routes

`{ path: 'person/:id', loadChildren: './pages/person/person.module#PersonPageModule' },`

and in your person.page.ts you can inject ActivatedRoute in the constructor

constructor(private activeRoute: ActivatedRoute)
{
    this.person_id = +this.activeRoute.snapshot.paramMap.get('id');
}
2 Likes