Titanium.UI.Tab.focus

Event of Titanium.UI.Tab.
Platform Since
Android 0.8
iPhone 0.8
iPad 0.8
Mobile Web 1.8

Summary

Fired when the tab gains focus.

Properties

Properties of the object passed to the event callback:
Name Type Summary
index Number

Index of the current active tab.

previousIndex Number

Index of the previous active tab.

previousTab Titanium.UI.Tab

Previous active tab object.

source Object

Source object that fired the event.

tab Titanium.UI.Tab

Current active tab object.

type String

Name of the event fired.