View Full Version : Where to set transition type in setCard with anim config object?

24 Sep 2010, 4:59 AM
Can somebody point me to a thread or an API doc that demonstrates using the setCard() method of a carousel with an Animation config object? In looking at the API for the Anim object, I don't see where you set the actual transition type in the config. I missing the boat on something here...thanks.

24 Sep 2010, 5:11 AM
I use something like this ...

viewer.setCard(1, { type: 'slide', direction: 'right', cover: true });

more to be found on the Ext.Anim class in the API :)

24 Sep 2010, 5:19 AM
Thanks @Kask. Wonder why "type" is not mentioned in the API...I was looking at that and did not see it...hence my post.

Thanks again...