I'm loving this component. I have a question.. Can i listen for when the sliding view finishes it's animation and then find out if it is open or closed?
I want the menu to behave just like facebook so that if the user is navigating in a view and swipes the menu open... I can change the back button to a slide button... and then when the menu closes I can change the slide button back to a back button.
Hope that makes sense lol.
Currently there isn't an easy way to listen to an 'open' or 'close' event, but that would be a nice feature to add. I'll add that to the todo list.
I'm 15 days into Sencha Touch, PhoneGap, Xcode development and I'm going through all the various examples on the web and on this forum. I have also completed learning by examples in the Sencha Touch Cookbook by Ajit Kumar but now I am stuck and having difficulty putting together the 'standard' MVC directory structure and the fantastic Sliding Side Menu example and making it run.
I think it's a total lack of understanding of the MVC setup as I got as far as the 'applicationloadingindicator' but it seems like my app is not 'launching'
May I request for help in the form of a nudge in the right direction - reading material, actual directory structure, or anything please? Thank you.
I am new to sencha touch, and I am playing with your slidenavigationview. I'd like to remove the toolbar, and the slide-button within it, keeping the draggable function of course.
Removing the slide-button is easy, but when removing the toolbar, the drag event is no more fired. I guess the idea would be to attach this event to the container view itself, but I don't know where to modify your code (I managed to identify different functionalities but did not obtained any satisfying result
u don't remove old cards when new item in menu tapped to keep the DOM clear?
No the items are cached, not deleted. If you have a lot of views, then this approach may begin to slow things down as more and more memory will be consumed when items are created. However for a modest number of views, caching will give better performance as we don't have to constantly modify the DOM and create/delete items.