blockly > الاتصال > getParentAndChildConnections

طريقة Connection.getParentAndChildConnections() ()

لعرض الاتصال الرئيسي (الرئيسي) والاتصال الفرعي (الأدنى) استنادًا إلى هذا الاتصال والاتصال المرتبط به.

Signature:

protected getParentAndChildConnections(): {
        parentConnection?: Connection;
        childConnection?: Connection;
    };

المرتجعات:

{ parentConnection?: Connection ؛ childConnection?: الاتصال، }

الاتصال الرئيسي والاتصال الفرعي، استنادًا إلى هذا الاتصال والاتصال الذي يتصل به.