PDA

View Full Version : How to get active index of card layout?



dbassett74
17 Sep 2009, 2:45 PM
According to the docs, there is only a single method of card layout: setActiveItem.

Is there a way to get the currently active index?

evant
17 Sep 2009, 4:26 PM
Something like:



var idx = ct.items.indexOf(ct.layout.activeItem);