new module:OutputConnector(appInstance, left, top)
Call the constructor from the parent Connector class and set isOutputConnector 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
-
setState(state)
-
Call the setState method of Connector and than set the state of the connected Wires
Parameters:
Name Type Description state
Logic.state new Logic.state of the connector