We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

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: fscholz, nhnt11, teoli, Sheppy, ethertank, louisremi
Last updated by: fscholz,