Working with events

tabchange event

This event is raised when an tab is pressed by the user. To catch this event use the WA.AddEventListener function.

WebApp.AddEventListener("tabchange", handler);

Contextual informations

The tabchange event object has the following contextual informations:

evtObj.context[0]
Integer. Selected tab index.

And have the following additional property:

evtObj.target
Object. Object which fires the event (<ul>).

Changes History
20080609v0.3.0CAAdded tabchange event and target property
Saturday, 20-Jun-2009 14:40:00 CEST