Can I access App components from a page or define menu in a page template. I am trying to avoid using events.
Why not? I don’t think that it is depended from app class.
Page template
<ion-menu id="left-menu" [content]="content">
<ion-toolbar>
<ion-title>Pages</ion-title>
</ion-toolbar>
<ion-content>
<ion-list>
<button ion-item >
Login
</button>
</ion-list>
</ion-content>
</ion-menu>
<ion-navbar *navbar>
<button menuToggle>
<ion-icon name="menu"></ion-icon>
</button>
<ion-title>Sample App</ion-title>
</ion-navbar>
<ion-content padding>
App template
<ion-nav id="nav" #content [root]="rootPage" ></ion-nav>
Sidebar swipe event doesnt work
Couldnt find any examples, can you share a link