Side Menu slide back


#1

Hi,

in side menu code examples (http://codepen.io/ionic/pen/tcIGK) when you click on the link from the side menu on the right side shows new templates (Check In or Attendees) , but the side menu stays open so the user needs to click one more time on the right to close it.

How can I control the left links so when I click on it left menu closes automatically?

Thanks


#2

use menu-close in ur “a” tag

<a class="item item-icon-left" ui-sref="menu.todos" nav-clear menu-close>
    <i class="icon ion-clipboard"></i> todos
</a>

#3

That was fast… thnx… :wink: