blockly > Bağlantı > getParentAndChildConnections

Connection.getParentAndChildConnections() yöntemi

Bu bağlantı ve bağlı olduğu bağlantıdan dolayı üst bağlantıyı (üst) ve alt bağlantıyı (alt bağlantıyı) döndürür.

İmza:

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

İade et:

{ parentConnection?: Bağlantı;childConnection?: Bağlantı; }

Üst ve alt bağlantı (bu bağlantı ve bağlı olduğu bağlantı).