Atrium.closeTab([tab])
You can call this function from a page that is running in a portal tab to programmatically close down the tab in the portal.
Optional Parameters:
- tab: a reference to the tab to close. If not passed, the current active tab is closed.