Stay organized with collections Save and categorize content based on your preferences.

blockly > BlockSvg > makeConnection_

BlockSvg.makeConnection_() method

Create a connection of the specified type.

Signature:

protected makeConnection_(type: number): RenderedConnection;

Parameters

Parameter Type Description
type number The type of the connection to create.

Returns:

RenderedConnection

A new connection of the specified type.