Hi,
I wont to change tabs without click on them but when call TabListItem.showTab() is change only tab without show tab pane. I have the following structure:
<b:TabPanel>
<b:NavTabs>
<b:TabListItem ui:field="tabItem1" active="true" dataTarget="#tab1"/>
<b:TabListItem ui:field="tabItem2" dataTarget="#tab2"/>
</b:NavTabs>
<b:TabContent>
<b:TabPane active="true" b:id="tab1">
<b:TabPane b:id="tab2">
</b:TabContent>
</b:TabPanel>
class Widget {
@UiField
TabListItem tabItem1;
@UiField
TabListItem tabItem2;
//not tab click event
void someAction1() {
tabItem1.showTab();
}
//not tab click event
void someAction2() {
tabItem2.showTab();
}
}