Methods
(static) hasTabs(tabset) → {*}
Parameters:
Name | Type | Description |
---|---|---|
tabset |
Returns:
- Type
- *
activateTab(tab)
Activate an given tab
Parameters:
Name | Type | Description |
---|---|---|
tab |
Element |
clearTab(tabId)
Removes the content of a tab.
Parameters:
Name | Type | Description |
---|---|---|
tabId |
string | of Tab to clear |
destroy()
getActiveTab() → {object}
Gets the active tab.
Returns:
JQuery object of the active tab.
- Type
- object
getDashboards() → {Array}
Returns:
- Type
- Array
getNextTab() → {object}
Gets the next tab. Loops in case there isn't a previous tab.
Returns:
JQuery object of the next tab
- Type
- object
getPreviousTab() → {object}
Gets the previous tab. Loops in case there isn't a previous tab.
Returns:
JQuery object of the previous tab
- Type
- object
getWidgetById(id) → {App.Widget}
Finds and returns a widget by id
Parameters:
Name | Type | Description |
---|---|---|
id |
String | The id of the widget to be found |
Returns:
Widget The widget with the given id, if no widget is found undefined is returned
- Type
- App.Widget
show()
translateToAbsoluteId(tabId) → {string}
Parameters:
Name | Type | Description |
---|---|---|
tabId |
Returns:
- Type
- string