Skip to main content

Home > blockly > blockRendering > Connection > (constructor)

blockRendering.Connection.(constructor)

Constructs a new instance of the Connection class

Signature:

constructor(constants: ConstantProvider, connectionModel: RenderedConnection);

Parameters

ParameterTypeDescription
constantsConstantProviderThe rendering constants provider.
connectionModelRenderedConnectionThe connection object on the block that this represents.