View Full Version : Panel Show/Hide does not performing given animations

Pratik Sharma
26 Nov 2011, 4:54 AM

I am having 3 panels in main panel. And my job is to hide and show one panel from other panel.
That works fine with this command :

Ext.getCmp('detailPanelImage').hide(); and
Ext.getCmp('detailPanelImage').show(); .

But I want that panel to show/hide with some animation so I have googled for that and find this solution at the end. :

Ext.getCmp('detailPanelImage').hide({type: 'flip',duration: 5000}); and Ext.getCmp('detailPanelImage').show({type: 'flip',duration: 5000});.
But it is not giving any effect on screen.

So, what could be the problem I am not able to figure out that if I am doing anything wrong or there is something which SenchaToucha2 not allowing to use in this way?

Thanks in advance.

28 Nov 2011, 11:05 AM
This could be because animations aren't fully implemented throughout the framework.