Atrium.closeAllTabs( keepHome )



This function closes all opened tabs in Atrium, except for the current active tab. You can also call this function to close all tabs except for the homepage tab.

Optional Parameters:

  • keep home page - a boolean true or false value. When set to false, all tabs will be closed. Conversely, when set to true, all opened tabs will be closed except for the homepage tab. If not passed, all tabs will be closed keeping the homepage tab opened.