Access page object inside tab

Page1 has ion-tabs. One of the tabs is Page2. Page2 has a variable I want to access.

page1.html:

<ion-tabs #myTabs [selectedIndex]="selectedIndex" >
    <ion-tab [root]="page2Root" tabIcon="icon-profile" [rootParams]="userData"></ion-tab>
</ion-tabs>

page1.ts:

export class Page1 {
  @ViewChild('myTabs') tabRef: Tabs;
  page2Root:Page2
  ...
}

From page1.ts, how can I access that variable?