## module:InputConnector(appInstance, left, top)

Connector that gets its state from a connected value and passes it through to the Box this connector belongs to.

#### new module:InputConnector(appInstance, left, top)
`modules/editorElements/InputConnector.js`, `line 10`

  Call the constructor from the parent Connector class and set isInputConnector to true.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `appInstance` | App | link to the App instance that this connector will belong to
  `left` | number | horizontal position defined in grid units (SVG pixels divided by the grid size)
  `top` | number | vertical position defined in grid units (SVG pixels divided by the grid size)

### Extends

- Connector

### Methods

#### removeWireIdAndUpdate(wireId)
`modules/editorElements/InputConnector.js`, `line 40`

  remove the wire (by calling the removeWireIdAndUpdate of Connector) and update state of this connector by setting it to undefined using the setState method

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `wireId` | string | ID of the Wire

#### setState(state)
`modules/editorElements/InputConnector.js`, `line 27`

  Call the setState method of Connector and than refresh the state of the connected Box

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `state` | Logic.state | new Logic.state of the connector