[TIMOB-93] Support tabchange event listener
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:51:57.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 0.6.2 |
Components | iOS |
Labels | n/a |
Reporter | Nolan Wright |
Assignee | Nolan Wright |
Created | 2011-04-15T02:23:34.000+0000 |
Updated | 2011-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
});
No comments