Tabbar Iterator

Hi,



is it possible to iterate through tabs in tabbar and get the header of all tabs?




Hello,


there isn’t built-in method that allows iterate through tabs. Try to use the following method:


var labels = new Array();


for(var id in tabbar._tabs)
labels.push(tabbar.getLabel(id));


Here tabbar is tabbar object, _tabs is a private property of tabbar.