blockly > Connection > getParentAndChildConnections

Connection.getParentAndChildConnections() メソッド

この接続と接続先の接続が与えられると、親接続(上位)と子接続(下位)を返します。

署名:

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

戻り値:

{ parentConnection?: Connection; childConnection?: 接続; }

この接続と接続先の接続が与えられた場合の親接続と子接続。