Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-93] Support tabchange event listener

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:51:57.000+0000
Affected Version/sn/a
Fix Version/sRelease 0.6.2
ComponentsiOS
Labelsn/a
ReporterNolan Wright
AssigneeNolan Wright
Created2011-04-15T02:23:34.000+0000
Updated2011-04-17T01:51:57.000+0000

Description

Support the ability to listener for tab change events:

Here's the API spec:

Titanium.UI.addEventListener('tabchange',function(e)
{

e.index  // the index of the newly active tab

e.name   // the name of the newly active tab (from the <id> window attribute in tiapp.xml

e.prevIndex // the previously active index

e.prevName  // the previously active name

});

Comments

No comments

JSON Source