Skip to main content

blockly > blockRendering > PreviousConnection > (constructor)

blockRendering.PreviousConnection.(constructor)

Constructs a new instance of the PreviousConnection class

Signature:

constructor(constants: ConstantProvider, connectionModel: RenderedConnection);

Parameters

Parameter

Type

Description

constants

ConstantProvider

The rendering constants provider.

connectionModel

RenderedConnection

The connection object on the block that this represents.