Class

TabController

TabController()

The TabController manages the tab bar and the state of each tab.

Like all other controllers it is only initialized once. It is accessible at the global object app_controller.tab_controller.

Constructor

# new TabController()

View Source frontend/controllers/tab_controller.js, line 38

Members

Methods

# getTab(index)

Parameters:
Name Type Description
index Number

The tab index of the requested Tab

View Source frontend/controllers/tab_controller.js, line 625

@type Tab

# localizeTemplate()

Function to update locale strings in new tab template Called on locale change

View Source frontend/controllers/tab_controller.js, line 960

# async reset()

Resets the state of TabController to the initial state (corresponds to the state right after first installation)

View Source frontend/controllers/tab_controller.js, line 603