How to update Ion menu items from a child component/modal

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 }


      <button menuClose ion-item *ngFor="#p of pages" (click)="openPage(p)">

but now I’m inside a child component and I no longer have access to this.pages . How can I do that?

1 Like