blockly > Block > makeConnection_
Block.makeConnection_() method
Create a connection of the specified type.
Signature:
protected makeConnection_(type: number): Connection;
Parameters
Parameter | Type | Description |
---|---|---|
type | number | The type of the connection to create. |
Returns:
A new connection of the specified type.