Constructor
new DimensionCardPresenter(root, onUpdateFilterSet)
Create a new DimensionCardPresenter.
Parameters:
| Name | Type | Description |
|---|---|---|
root |
HTMLElement | Root DOM element. |
onUpdateFilterSet |
function | Callback for filter updates. |
- Source:
Methods
setLabel(dimensionType, labelText)
Set the label text for a specific dimension.
Parameters:
| Name | Type | Description |
|---|---|---|
dimensionType |
string | The dimension type ("simulations", "applications", "substances"). |
labelText |
string | The text to use for the label. |
- Source:
showResults(results, filterSet)
Update dimension cards with new results
Parameters:
| Name | Type | Description |
|---|---|---|
results |
Object | Results data to display |
filterSet |
FilterSet | Current filter settings |
- Source: