sencha-SlideView icon indicating copy to clipboard operation
sencha-SlideView copied to clipboard

Open/Close Menu

Open Tezting opened this issue 12 years ago • 3 comments

Would love to see open/close button working. I can see that on facebook the menubutton is not "pressed" but any click on the container will close the menu.

Tezting avatar Mar 12 '13 08:03 Tezting

Me too,

The codes in https://github.com/wnielson/sencha-SlideView/blob/master/app/view/Main.js

Ext.defer(slideview.closeContainer, 200, slideview);

I can understand how the container can be closed programmatically but it works only after opening the menu by drag and drop, the opened event in the controller doesn't fire when I use this way first but after opening the menu by drag and drop then it seems it is activated and it can be manipulated programmatically

If this great fb style navigation provides the way of opening and closing the menu programmatically, can you show us how can be done in codes please?

or not it will be great if it can be modified

thanks a lot!

nayahun2 avatar Jun 06 '13 10:06 nayahun2

I'd also be interested to learn how to add the title bar icon back to toggle the navigation.

ryanmac avatar Dec 02 '13 05:12 ryanmac

I tried this plugin for a long time and struggled with the slide / tap to open. In the end I went with my own version that does NOT open slide, only on button press. (https://github.com/jforaker/ST2-SlideNavigation)

jforaker avatar Jun 16 '14 00:06 jforaker