I’m following This example and all is good but now I want to update the menu items that were initialized using:
this.pages = [
{ title: 'Getting Started', component: GettingStartedPage },
{ title: 'List', component: ListPage }
];
and
<ion-list>
<button menuClose ion-item *ngFor="#p of pages" (click)="openPage(p)">
{{p.title}}
</button>
</ion-list>
but now I’m inside a child component and I no longer have access to this.pages
. How can I do that?