PDA

View Full Version : Card Layout - Animation Complete ?



dbp
16 Feb 2011, 2:36 AM
Hi guys. Thanks again for this great frameworks !

I am trying to recieve the Animation Complete for a Card-Type Layout.
For example, if i change the page in my layout using setActiveItem

Is there any parameter that allow you to launch a function when the animation is completed ?
For example :



cardLayout.setActiveItem(1, {type: 'slide', direction: 'left', complete: test});
function test() {
alert('ok !');
}
Thank you very much for any answer, and thanks for your time.
Regards.