Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

TabSelect

The TabSelect event is executed when a tab is selected.

General info

Specification
Addons specific
Interface
Event
Bubbles
Yes
Cancelable
No
Target
tab
Default Action
None

Properties

Property Type Description
target Read only EventTarget The event target (the topmost target in the DOM tree).
type Read only DOMString The type of event.
bubbles Read only Boolean Whether the event normally bubbles or not
cancelable Read only Boolean Whether the event is cancellable or not?

Notes

The previously selected tab is available via event.detail from within the listener callback:

var previousTab = event.detail.previousTab;

Document Tags and Contributors

 Contributors to this page: nhnt11, teoli, Sheppy, ethertank, louisremi
 Last updated by: nhnt11,