PDA

View Full Version : Grouped List behavior on Carousel indicator dots



dobie_
9 Dec 2011, 2:09 PM
Hello,
In the kitchen sink, there's a "Grouped List" example, where you drag your finger across the IndexBar to change the list position. I'm looking to implement similar behavior on a Carousel with the carousel indicator dots. Has anyone done this before?

fyi I'm not actually going to flip through the carousel items on drag -- I'm just planning on displaying a page number, then jumping to that carousel item on touch release.

mitchellsimoens
10 Dec 2011, 7:05 AM
I haven't seen it before but to get you started there is a class Ext.Carousel.Indicator that you will have to get familiar with.

http://docs.sencha.com/touch/1-1/#!/api/Ext.Carousel.Indicator

It's marked as a private class but that doesn't mean you can use it and change it's behavior.