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 | The rendering constants provider. | |
connectionModel | RenderedConnection | The connection object on the block that this represents. |