module:OutputBox(appInstance)

OutputBox has only input connectors and is used to visualize the output states of the logic network.

new module:OutputBox(appInstance)

Parameters:
Name Type Description
appInstance App

instance of App

Extends

  • Box

Methods

refreshState()

set state of this output box to match the state of its input connector

setState(state)

Reflect the input connector state in the appearance of the element - set the element image to represent the corresponding state

Parameters:
Name Type Description
state Logic.state

new state of this outputBox