Skip to main content

Home > blockly > Connection > (constructor)

Connection.(constructor)

Constructs a new instance of the Connection class

Signature:

constructor(source: Block, type: number);

Parameters

ParameterTypeDescription
sourceBlockThe block establishing this connection.
typenumberThe type of the connection.