blockly > Connection > getParentAndChildConnections

متد Connection.getParentAndChildConnections().

با توجه به این اتصال و اتصالی که به آن وصل شده است، اتصال والد (برتر) و اتصال فرزند (در پایین تر) را برمی گرداند.

امضا:

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

برمی گرداند:

{parentConnection؟: اتصال ; childConnection؟: اتصال ; }

اتصال والد و اتصال فرزند، با توجه به این ارتباط و ارتباطی که به آن متصل است.