Survei Riset: Ceritakan pengalaman Anda dengan Blockly
Mulai survei
blockly > Koneksi > connect_
Metode Connection.connect_()
Menghubungkan dua koneksi bersama-sama. Ini adalah koneksi pada blok atas.
Tanda Tangan:
protected connect_(childConnection: Connection): void;
Parameter
Parameter |
Jenis |
Deskripsi |
childConnection |
Koneksi |
Koneksi pada blok inferior. |
Hasil:
void
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-08-29 UTC.
[null,null,["Terakhir diperbarui pada 2024-08-29 UTC."],[[["The `connect_()` method joins two Blockly connections, specifically the connection on the superior block to the one on the inferior block."],["This method accepts one argument: `childConnection`, representing the connection on the inferior block."],["Calling `connect_()` establishes a link between the two blocks, enabling them to function together within a Blockly workspace."]]],[]]