blockly >RenderedConnection >targetBlock

RenderedConnection.targetBlock() 方法

返回此连接所连接的块。

Signature:

targetBlock(): BlockSvg | null;

返回

BlockSvg |null

已连接的块;如果未连接,则为 null。