Methods
(inner) createAvatarEls() → {Array.<HTMLElement>}
Creates list of avatar option elements based off list of available images
- Source:
Returns:
list of avatar elements
- Type
- Array.<HTMLElement>
(inner) initializeAvatarSelection()
- Source:
(inner) initializeCards()
Populate the list of cards and interactions for opening/closing info menus
- Source:
(inner) initializeNavigation(buttonWrapperIdToSectionIdMap)
Connects each button/wrapper to its corresponding section, and attaches listeners
to switch sections on button click
Parameters:
| Name | Type | Description |
|---|---|---|
buttonWrapperIdToSectionIdMap |
Record.<string, string> |
- Source:
(inner) initializeSettings()
Initializes settings functionality
- Source:
(inner) initializeUsernameInput()
- Source:
(inner) initializeVolumeInput(volumeEl, setVolumeCallbackFn)
Adds event listener to change volume setting on user input
Parameters:
| Name | Type | Description |
|---|---|---|
volumeEl |
HTMLElement | |
setVolumeCallbackFn |
function |
- Source:
(inner) resetSettings()
Reset/refresh all settings to align with currently saved values
- Source: