Is there a way to open an ion-menu by clicking one of the tabs in ion-tabs?
I have four tabs and I want my fourth tab to open my ion-menu from the right side.
I created a function that will toggle right menu. The log will display but nothing happens, the menu is not showing.
toggleRightMenu() {
console.log('toggleRightMenu clicked!');
this.menu.toggle('right');
}
This is how I integrate the function to my ion-tab:
<ion-tab tabTitle="More" tabIcon="ios-more-outline" (ionSelect)="toggleRightMenu()"></ion-tab>
Here’s how my tabs looked like:
I’m hoping somebody will help me figure out my problem.