blockly > RenderedConnection > connect_
Methode "RenderedConnection.connect_()"
Verbinden Sie zwei Verbindungen. Dies ist die Verbindung auf dem übergeordneten Block. Rendern Sie die Blöcke nach Bedarf noch einmal.
Unterschrift:
protected connect_(childConnection: Connection): void;
Parameter
Parameter |
Typ |
Beschreibung |
childConnection |
Verbindung |
Verbindung auf niedrigerem Block. |
Gibt zurück:
voidm
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-09-12 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-09-12 (UTC)."],[[["The `connect_()` method joins two Blockly connections, specifically the one on the superior block to the one provided as input."],["This method is designated as `protected` within the `RenderedConnection` class."],["When called, `connect_()` triggers a rerendering of the involved blocks to visually reflect the connection."],["The method accepts a single argument: `childConnection`, which is an instance of the `Connection` class, representing the connection point on the subordinate block."],["`connect_()` does not return any explicit value (void)."]]],[]]