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