Contains main application logic, global event listeners, and utility functions.
Coordinates interactions between modules and manages app-wide behaviors.
- Source:
Methods
(inner) setActiveNavLink(activeLink) → {void}
Sets the given navigation link as active and removes active state from others.
Parameters:
Name | Type | Description |
---|---|---|
activeLink |
Element | The navigation link element to activate. |
- Source:
Returns:
- Type
- void
(inner) setupEventListeners() → {void}
Sets up all global event listeners for navigation, filtering, modals, video tracking, and search.
- Source:
Returns:
- Type
- void
(inner) showSection(sectionName) → {void}
Shows the specified section and updates content as needed.
Parameters:
Name | Type | Description |
---|---|---|
sectionName |
string | The name of the section to display. |
- Source:
Returns:
- Type
- void