OSH.UI.View
- Source:
Methods
(static) init(divId, viewItems, options)
Inits the view component.
Parameters:
| Name | Type | Description |
|---|---|---|
divId |
The divId to attach/create the view |
|
viewItems |
the list of items to add |
|
options |
[TODO] |
- Source:
addViewItem(viewItem)
Add viewItem to the view
Parameters:
| Name | Type | Description |
|---|---|---|
viewItem |
- Source:
attachTo(divId)
Parameters:
| Name | Type | Description |
|---|---|---|
divId |
- Source:
beforeAddingItems(options)
Parameters:
| Name | Type | Description |
|---|---|---|
options |
- Source:
getDataSourcesId() → {Array}
- Source:
Returns:
- Type
- Array
getDivId() → {string|*}
- Source:
Returns:
- Type
- string | *
getId() → {string|*}
- Source:
Returns:
- Type
- string | *
handleEvents()
- Source:
hide()
- Source:
onResize()
- Source:
reset()
- Source:
selectDataView($super, dataSourcesIds, entitiesIds)
Should be called after receiving osh:SELECT_VIEW event
Parameters:
| Name | Type | Description |
|---|---|---|
$super |
||
dataSourcesIds |
||
entitiesIds |
- Source:
setData(dataSourceId, data)
Parameters:
| Name | Type | Description |
|---|---|---|
dataSourceId |
||
data |
- Source:
show(properties)
Parameters:
| Name | Type | Description |
|---|---|---|
properties |
- Source:
shows(properties)
Parameters:
| Name | Type | Description |
|---|---|---|
properties |
- Source: