I am currently utilizing Ionic's router-outlet to navigate between a parent page and three children pages:
parent.page.html
<ion-content>
<ion-router-outlet></ion-router-outlet>
</ion-content>
parent-routing-module.page.ts
children: [
{
path: 'child-one',
},
{
path: 'child-two',
},
{
path: 'child-three',
}
]
My goal is to send data from the parent page to each of the children pages during navigation using the router-outlet. What would be the best way to achieve this?