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 | 
|---|---|---|
| targetRead only | EventTarget | The event target (the topmost target in the DOM tree). | 
| typeRead only | DOMString | The type of event. | 
| bubblesRead only | Boolean | Whether the event normally bubbles or not | 
| cancelableRead 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;