Constructor
new SubstanceTablePresenter(getCodeObj, onCodeObjUpdate)
Creates a new SubstanceTablePresenter.
Parameters:
| Name | Type | Description |
|---|---|---|
getCodeObj |
function | Callback to get the current code object. |
onCodeObjUpdate |
function | Callback when code object is updated. |
- Source:
Methods
refresh(codeObj)
Refreshes the substance count and download data.
Parameters:
| Name | Type | Description |
|---|---|---|
codeObj |
Object | Current code object. |
- Source: