Dynamically changing menu content without using events


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">
          <button ion-item >
<ion-navbar *navbar>
    <button menuToggle>
              <ion-icon name="menu"></ion-icon>   
  <ion-title>Sample App</ion-title>
<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