PDA

View Full Version : Swipe direction in carousel



blessan
18 Oct 2010, 1:47 AM
IS there a way to know which direction is the swipe in the cardswitch event of carousel component?

Kask
18 Oct 2010, 3:40 AM
You can check the index of the oldCard and newCard arguments. If newCard is larger than oldCard the direction of the swipe should be right->left ...

blessan
18 Oct 2010, 4:03 AM
ya thats what im doing right now. thanks