Class

OptionsMenu

OptionsMenu()

The OptionsMenu component handles all event handling related to the options menu.

To add a new option, perform the following steps:

  • Add the html element for the new option in /html/display_options_menu.html
  • Add the locales for the new option in /locales/en/translation.json and copy the string to all other languages
  • Add a function showOrHide<Option>BasedOnOption() that responds to changes
  • Add the initialization for the new option in the init() function
  • Add a call to showOrHide<Option>BasedOnOption() in refreshViewBasedOnOptions()