Recently, I tried creating an Ionic side menu. I want to make the side menu overlaying contact.
I do not want to push content, however.
<ion-side-menus>
<!-- Center content -->
<ion-side-menu-content ng-controller="ContentController">
</ion-side-menu-content>
<!-- Left menu -->
<ion-side-menu side="left">
</ion-side-menu>
<!-- Right menu -->
<ion-side-menu side="right">
</ion-side-menu>
<ion-side-menu-content>
<!-- Main content, usually <ion-nav-view> -->
</ion-side-menu-content>
</ion-side-menus>
function ContentController($scope, $ionicSideMenuDelegate) {
$scope.toggleLeft = function() {
$ionicSideMenuDelegate.toggleLeft();
};
}
Some other people have already requested this feature. http://forum.ionicframework.com/t/side-menu-overlaying-rather-than-pushing-center-content/4361 As of what I know there is no work around unless you wanted to rewrite the directive/animations for the side menu.