View Full Version : Animations with Ext.Panel.show

27 Jul 2010, 8:25 PM
I'm trying to rewrite an Ext app to use the Touch toolkit, and the animations are giving me trouble, since I can't grok how the examples seem to be doing things. I'm working on a panel where a set of buttons in the toolbar flip between panels (a tab panel doesn't fit the paradigm that the navigation is for), and it looks like Ext.Panel.show should do what I want, but I'm not sure how to pass in an animation parameter to give it the slick apple-style slide, fade, flip, or the like. My current code looks like:

type : 'slide',
direction : cIdx < nIdx ? 'left' : 'right'

Thanks for any help, or pointers to tutorials that cover this sort of thing.