Ionic 4. How refresh or update page in super-tab

I have a "ParentPage" page with supertabs:

  <super-tabs-toolbar slot="top">
    <super-tab-button>
      <ion-label>ChildPage 1</ion-label>
    </super-tab-button>
    <super-tab-button>
      <ion-label>ChildPage 2</ion-label>
    </super-tab-button>

  </super-tabs-toolbar>

  <super-tabs-container>

    <super-tab>
      <ion-nav [root]="childPage1"></ion-nav>
    </super-tab>
    <super-tab>
      <ion-nav [root]="childPage2"></ion-nav>
    </super-tab>

  </super-tabs-container>

 </super-tabs> 

From the "ParentPage" page I modify the data of "childPage1", but "childPage1" is not updated visually, and the data is updated.

Upvotes: 0

Views: 301

Answers (0)

Related Questions