See these previous topics:
So in my index.html, I have my file structured like so:
<body ng-app="starter">
<nav-bar class="nav-title-slide-ios7" type="bar-positive" left-buttons="leftButtons" right-buttons="rightButtons" hide-back-button="true"></nav-bar>
<!-- where the initial view template will be rendered -->
<nav-view animation="slide-left-right"></nav-view>
</body>
But for my partials, one of them has a slide menu and it does not play well with the nav-bar. Basically, I get the slide menu functionality b…
Hi i am new to Ionic as well Angular. How can i disable the drag event on side menu. I don’t want to reveal side menus on dragging the center content. I have found something called ‘defaultPrevented’ in ionic’s js files to prevent but can’t understand how to use it. Is there a way to do this. Also is there any way to alter the size of left and right menu without changing it in the ionic’s js files ??
You very well may want to setup your views so that you have a main template file that will be used for views that need a menu and a completely other main template file that would be used for views that don’t need a side menu.
Here is a good blog on the topic:
1 Like