Home > blockly > RenderedConnection > (constructor)
RenderedConnection.(constructor)
Constructs a new instance of the RenderedConnection class
Signature:
constructor(source: BlockSvg, type: number);
Parameters
| Parameter | Type | Description |
|---|---|---|
| source | BlockSvg | The block establishing this connection. |
| type | number | The type of the connection. |