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;