Home > blockly > blockRendering > Connection > (constructor)
blockRendering.Connection.(constructor)
Constructs a new instance of the Connection class
Signature:
constructor(constants: ConstantProvider, connectionModel: RenderedConnection);
Parameters
| Parameter | Type | Description |
|---|---|---|
| constants | ConstantProvider | The rendering constants provider. |
| connectionModel | RenderedConnection | The connection object on the block that this represents. |