PDA

View Full Version : Carousel Disable Drags



vishal_sencha
15 Aug 2011, 2:05 AM
Can we disable forward dragging of card and active only backward gragging in carousel ?

bharatn
15 Aug 2011, 10:27 PM
Check this event. Return false to cancel the switch after checking index or oldcard/newcard.



beforecardswitch (http://dev.sencha.com/deploy/touch/docs/source/Container1.html#event-Ext.lib.Container-beforecardswitch)
: ( Ext.Container this, Ext.Component newCard, Ext.Component oldCard, Number index, Boolean animated )