Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12985] BlackBerry: TabGroup.removeTab()

GitHub Issuen/a
TypeSub-task
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-03-22T05:28:52.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.1.0, 2013 Sprint 06 BB, 2013 Sprint 06
ComponentsBlackBerry
Labelsn/a
ReporterJosh Roesslein
AssigneeJosh Roesslein
Created2013-03-06T21:58:23.000+0000
Updated2017-03-08T18:26:06.000+0000

Description

Allow developers to remove tabs from a group.

Acceptance Test

var tabGroup = Ti.UI.createTabGroup();
 
var tab1 = Ti.UI.createTab({
  title: 'A tab.',
  win: Ti.UI.createWindow()
});
tabGroup.addTab(tab1);

var tab2 = Ti.UI.createTab({
	  title: 'Another tab.',
	  win: Ti.UI.createWindow()
	});
tabGroup.addTab(tab2);
 
tabGroup.open();
 
setTimeout(function() {
  tabGroup.removeTab(tab2);
}, 3000);
1. Run the application and verify two tabs are visible. 2. After 3 seconds the second tab should be removed from the group.

Comments

  1. Lee Morris 2017-03-08

    Closing ticket as resolved.

JSON Source