Open Side Menu by Clicking on a tab

in my application there is a 4 tabs one of them is the toggle menu button how to make the onClick of this tab is to toggle menu without showing it’s content (by showing the current view)

ok I solved the problem by using ionSelect
tabs.html
<ion-tab (ionSelect)=“openSideMenu()” tabTitle=“Menu” tabIcon=“menu”>

and in tabs.ts

openSideMenu(){
this.menuCtrl.toggle(‘left’)
}

1 Like

Solved mine using this. Thanks!