How to trigger a function when the ion-menu-button is closed in ionic

How to trigger a function when the ion-menu-button is closed in ionic. I have a ion-menu-button like this

<ion-buttons slot="end"   >
      <ion-menu-button menu="admin"  >
          <ion-icon name="more" ></ion-icon>
      </ion-menu-button>
    </ion-buttons>

please help me by telling how to trigger a function when the ion-menu-button is closed

https://imgur.com/a/Vz2XpGq …This is the menu list

if you want the sidemenu open closed event then you can refer below link

This is not working for me

it should be ionDidOpen

" <ion-menu [content]=“content” (ionOpen)=“menuOpened()” (ionClose)=“menuClosed()” >"

Its working just i have run on my ionic 3 framework.

app.html
<ion-menu [content]=“content” (ionOpen)=“sidemenuopen()” (ionClose)=“sidemenuclose()” >

app.componant.ts

sidemenuopen()
{
console.log(‘Side menu open’);
}

sidemenuclose()
{
console.log(‘Side menu close’);
}