Constructor
new BreadBoard(container, communicator, type)
Displays the hardware in the debugger.
Additional documentation can be found in the GitHub repository.
Parameters:
Name | Type | Description |
---|---|---|
container |
object | the DOM-element to place the hardware in |
communicator |
Communicator | EmulatorCommunicator |
type |
object | the breadboard-type to generate |
- Source:
Methods
build()
Generates this breadboard: wire emulator to hardware, generate html
- Source:
destroy()
removes all the hardware from the DOM and removes the event-handlers from the emulator
- Source:
render()
redraws all hardware elements
- Source: