Thank you very very much, you are great !
I felt very happy when I saw CodePen example, but unfortunately it doesn’t work in my app
I am sorry but I could not understand this sentence
What do you mean in it ??
“Swiped!” is printed every time I swipe the menu, but it doesn’t moved or swiped
Thank you very much @Calendee
I’ve resolved the problem
I added new controller in in index page and added it to the controller.js file
In this controller I added toggleLeft Function
I do this in my app.js so that other views are able to drag the side menu.
.run(function($rootScope, $ionicPlatform, $ionicSideMenuDelegate) {
$rootScope.$on('$stateChangeSuccess', function () {
// By default, we want to allow the side-menu to be dragged.
// Some views may need to disable it so we want to enable it
// after a successful state change
$ionicSideMenuDelegate.canDragContent(true);
});
})
Mr @Calendee I’m very sorry, but when I update ionic to nightly version everything in the app corrupted !!!
this error appears :
Error:
[$compile:multidir] Multiple directives [ionNavBar, navBarSwipe] asking
for new/isolated scope on:
Yep, I know that, and I spent a lot of time yesterday to check error
In this example … when I delete ‘navBarSwip’ directive it works… But not as I want …
because the error is: Multiple directives [ionNavBar, navBarSwipe]
In beta14, this is broken by the way. Just in case someone else is trying to get this to work with the latest release
$ionicSideMenuDelegate.canDragContent(false);