Methods
getFirstTabByOrder() → {HTMLElement|null}
Get the first tab button based on CSS order attribute Respects the data-tab-order attribute for mixed plugin/template tabs
First tab button by order, or null if none found
- Type:
- HTMLElement |
null
tabBtnClicked(event)
Handle tab button clicks Updates URL history and triggers frame reloading for dynamic content
| Name | Type | Description |
|---|---|---|
event | Event | Click event from tab button |
tabBtnTargetConnected(event)
Handle tab button connection to DOM Sets up tab activation based on URL parameters or defaults to first tab
| Name | Type | Description |
|---|---|---|
event | HTMLElement | Connected tab button element |
tabBtnTargetDisconnected(event)
Handle tab button disconnection from DOM Cleans up event listeners to prevent memory leaks
| Name | Type | Description |
|---|---|---|
event | HTMLElement | Disconnected tab button element |