Survei Riset: Ceritakan pengalaman Anda dengan Blockly
Mulai survei
blockly > Koneksi > setShadowDom
Metode Connection.setShadowDom()
Mengubah blok bayangan koneksi.
Tanda Tangan:
setShadowDom(shadowDom: Element | null): void;
Parameter
Parameter |
Jenis |
Deskripsi |
shadowDom |
Elemen | null (kosong) |
Representasi DOM dari blok atau null. |
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-22 UTC.
[null,null,["Terakhir diperbarui pada 2024-08-22 UTC."],[[["The `Connection.setShadowDom()` method updates the shadow block associated with a given connection."],["It accepts a single argument, `shadowDom`, which is either an Element representing the DOM of the shadow block or null."],["Calling this method effectively changes the visual representation of the connection's shadow block."]]],["The `setShadowDom` method, part of the Connection class, modifies a connection's shadow block. It accepts a single parameter, `shadowDom`, which represents the DOM structure of a block or can be null. This method updates the connection's shadow block to the provided DOM element or removes it if null is provided. It returns nothing (void) after execution.\n"]]