Constructor
# new Section(id, settings)
Parameters:
Name | Type | Description |
---|---|---|
id |
string
|
Id of the section. |
settings |
Object
|
Settings for the tab. |
hidden |
boolean
|
Show or hide the section. Default false. |
Methods
# addWidget(widget)
Add widget to section.
Parameters:
Name | Type | Description |
---|---|---|
widget |
Object
|
Widget to add. |
# areAllWidgetsCollapsed()
Check if all widgets in section are collapsed.
# refresh(forceRefresh)
Refresh all the widgets in the section.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
forceRefresh |
boolean
|
false | True force the refresh. |