PDA

View Full Version : Removing the carousel card indicator



BenMajor
13 Mar 2011, 9:45 AM
Hello again,

Sorry for the magnitude of questions today, I'm still trying to get to grips with Sencha Touch. As part of a project I'm working on, I have a carousel view which contains a dynamic number of cards - there's no way for me to anticipate how many of the cards will appear in the carousel; it might be 1 or 100.

My question is simple: is there a method with which one can remove the location indicator on the Sencha Touch Carousel object? The reason I ask is that if the carousel contains only 1 card, ST still includes the location indicator, and it could be confusing for users.

Is it possible to call a method on the Carousel object, something like:


myCarousel.noIndicator();

Or even define a parameter in the object declaration?

Thanks,
Ben.

BenMajor
13 Mar 2011, 1:28 PM
Sorry, I just found the 'indicator' boolean... That'll teach me to search the API documents better next time!

Thanks,
Ben.