## module:InputBox(appInstance, isOnopt)

InputBox has only output connectors and is used to set the input states for the logic network.

#### new module:InputBox(appInstance, isOnopt)
`modules/editorElements/InputBox.js`, `line 11`

  ##### Parameters:

  Name | Type | Attributes | Default | Description
  --- | --- | --- | --- | ---
  `appInstance` | App |  |  | instance of App
  `isOn` | Boolean | <optional> | false | the initial state of the inputbox (`true` is on, `false` is off)

### Extends

- Box

### Members

#### exportData
`modules/editorElements/InputBox.js`, `line 33`

  get data of this input box as a JSON-ready object

#### on
`modules/editorElements/InputBox.js`, `line 60`

  set the state of the inputbox to the corresponding value

#### on
`modules/editorElements/InputBox.js`, `line 80`

  get the state of the inputbox (`true` if on, `false` if off)

### Methods

#### onClick()
`modules/editorElements/InputBox.js`, `line 87`

  toggle the state of the inputbox

#### refreshState()
`modules/editorElements/InputBox.js`, `line 52`

  start a new simulation from the output connector