title: How to toggle Menu in Ionic 4
body: <p>I am new to Ionic, and I am developing a basic app in Ionic 4 with <code>sidemenu</code>.</p>
  
  <p><strong>I am adding a button in Side Menu</strong>, when I am clicking on that button the menu is not toggling. can anyone help me in this ?
  here's the code which I am trying.</p>
  
  <p><code>&lt;ion-button color="primary" (click)="function()" class="class" menuToggle expand="block" fill="outline"&gt;
      text
   &lt;/ion-button&gt;</code></p>
  
  <blockquote>
    <p>Explanation of not Duplicate question</p>
  </blockquote>
  
  <p>Please check the Bold text, I already have a working sidemenu, but the problem is I want to close the sidemenu when I click on <code>ion-button</code>, not on <code>ion-item</code>.</p>