Class: SimulationListPresenter

SimulationListPresenter(root, getCodeObj, onCodeObjUpdate)

Manages the UI for listing and editing simulations.

Constructor

new SimulationListPresenter(root, getCodeObj, onCodeObjUpdate)

Creates a new SimulationListPresenter.
Parameters:
Name Type Description
root HTMLElement The root DOM element for the simulation list.
getCodeObj function Callback to get the current code object.
onCodeObjUpdate function Callback when the code object is updated.
Source:

Methods

disable()

Visually and functionally disables the simulation list interface.
Source:

enable()

Visually and functionally enables the simulation list interface.
Source:

refresh(codeObj)

Refreshes the simulation list display.
Parameters:
Name Type Description
codeObj Object Current code object to display.
Source: