0
votes

I want to change the value of ion-nav-button (side), button(menu-toggle) and ion-side-menu(side) from LEFT to RIGHT. how can i do this?

Here is my Code:

 <ion-nav-buttons id="navButton" side="left">
    <button id="toggleButton" class="button button-icon button-clear ion-navicon" menu-toggle="left">
    </button>
  </ion-nav-buttons>

and

<ion-side-menu id="sideMenuId" side="left">

I want to change the values of above mentioned from left to right on button click.

1

1 Answers

0
votes

$ionicNavBarDelegate delegate for controlling the ionNavBar directive and supports different methods. It is injected into the controller to access its properties and methods. link : http://ionicframework.com/docs/api/service/$ionicNavBarDelegate/

Another way to access html is create custom attribute directive and within the directive we can access corresponding element and manipulate DOM.