I am working with Ionic for some time now and wanted to thank the creators. Great Job!
I am using an slidebox with an side menu.
When the menu is open it should not be possible to slide the slide box.
So i am using $ionicSlideBoxDelegate enableSlide = !enableSlide in the toggleLeft function to deactivate/activate the slide. Works as it should.
My problem now is that the menu is closed by clicking on the document body without using the toggle function.
So in this case the “enable slide” stays on “false”. The Menu is closed and the Slidebox not slideable.
How can i trigger a enableSlide toggle whenever the sidemenu is closed or opened? Is there an .on event for the side menu?
Where is the function which toggles the side menu on a body click?
Thank you in advance !!