Tab management module for switching between UI sections.
- Source:
Methods
(static) initTabs()
Initializes tab navigation by setting up click handlers for all tab buttons. Automatically activates the first tab on page load.
- Source:
(static) switchTab(tabId)
Switches to the specified tab, hiding all other tab contents and updating button styles. Handles both mobile and desktop tab IDs.
Parameters:
| Name | Type | Description |
|---|---|---|
tabId |
string | The ID of the tab to switch to |
- Source: