Class: OptionsPanelPresenter

OptionsPanelPresenter(root, onUpdateFilterSet)

Presenter for options checkboxes. Presenter for options checkboxes at the bottom of the results panel before export button which, at this time, only includes a checkbox for attributing initial charge to importer (defaults to unchecked / attribute to exporter).

Constructor

new OptionsPanelPresenter(root, onUpdateFilterSet)

Create a new OptionsPanelPresenter.
Parameters:
Name Type Description
root HTMLElement Root DOM element.
onUpdateFilterSet function Callback for filter updates.
Source:

Methods

_registerEventListeners()

Register event listeners for options being changed.
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: