Manages navigation and menus tabs within the setting menu.

Constructors

  • Creates an instance of NavigationManager. To create a new tab in the menu, add the mode to the modes array and the label to the labels array. and instantiate a new NavigationMenu instance in your handler like: this.navigationContainer = new NavigationMenu(0, 0);

    Returns NavigationManager

Properties

labels: string[]
modes: Mode[]
navigationMenus: default[] = ...
selectedMode: Mode = Mode.SETTINGS

Methods