What is like "on-select" for sidemenu?

I know that on-select is working for tab menus but not for sidemenus?

I want to run a function when I click on the menu item…

Just like on-select=“func()” for tabs…

ng-click=“func()” ???

2 Likes

that is not firing the function hmm…

    <ion-item menu-close href="#/tab/fun" ng-click="resetList()">
      <i class="icon ion-funnel side-menu-icon-larger"> </i> 
      <span class="side-menu-font-larger"> Funnel </span>
    </ion-item>

yeah maybe you should remove the href and make the routing at the end of your ngClick-function