blockly > blockRendering > PreviousConnection > (构造函数)

blockRendering.PreviousConnection.(constructor)

构造 PreviousConnection 类的新实例

Signature:

constructor(constants: ConstantProvider, connectionModel: RenderedConnection);

参数

参数 类型 说明
constants ConstantProvider 呈现常量提供程序。
connectionModel RenderedConnection 它所代表的块上的连接对象。