MainWindow ‹ Chocolat API

MainWindow.current()

Class method that returns the current window.

Returns MainWindow – the current MainWindow.

.tabs()

Returns and array of tabs in the main window.

Returns Array – tabs.

.currentTab()

Get the current, active tab from the main window.

Returns Tab – the active tab in the main window.

.storage()

Access the storage object of the MainWindow (see Storage class).

Returns Storage – the storage.