I cnt get the ionic menu to work out of the box, i have created a simple menu
<ion-header>
<ion-toolbar color="danger">
<ion-title>End Menu</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
<ion-list>
<ion-item>Menu Item</ion-item>
<ion-item>Menu Item</ion-item>
<ion-item>Menu Item</ion-item>
<ion-item>Menu Item</ion-item>
<ion-item>Menu Item</ion-item>
</ion-list>
</ion-content>
</ion-menu>
from inside my page i am invoking a button
openMenu(){
this.menu.enable(true, 'first');
this.menu.open('first');
}
nothing works and this is the same example from ionic website. please can you help me understand what i am doing wrong??