blockly > Giriş > setShadowDom
Bağlantının gölge bloğunu değiştirir.
İmza:
setShadowDom(shadow: Element | null): Input;
Parametreler
Parametre |
Tür |
Açıklama |
gölge |
Öğe | boş |
Bir bloğun DOM temsili veya boş değer. |
Şunu döndürür:
Giriş
Değiştirilen giriş (zincirlemeye izin vermek için).
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-09-12 UTC.
[null,null,["Son güncelleme tarihi: 2024-09-12 UTC."],[[["The `setShadowDom` method is used to change the shadow block associated with a connection on a Blockly block."],["It accepts a DOM element representing the shadow block or null to remove the shadow."],["The method returns the modified input object for chaining purposes."]]],["The `setShadowDom` method modifies an input's shadow block. It accepts a parameter, `shadow`, which can be either an `Element` representing a DOM block or `null`. This method changes the connection's shadow block to the provided `shadow`. It returns the modified `Input` object, enabling method chaining.\n"]]