blockly > RenderedConnection > targetBlock

เมธอด RenderedConnection.targetBlock()

แสดงผลการบล็อกที่การเชื่อมต่อนี้เชื่อมต่ออยู่

ลายเซ็น:

targetBlock(): BlockSvg | null;

ส่งกลับ:

BlockSvg | null

บล็อกที่เชื่อมต่อหรือ Null ถ้าไม่มีการเชื่อมต่อ