Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > girişler > 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-08-22 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2024-08-22 UTC."],[[["The `setShadowDom()` method updates an input's shadow block using a provided DOM element or null."],["It accepts a single argument: `shadow`, which represents the DOM structure of the shadow block."],["Upon execution, the method returns the modified input, enabling method chaining for further operations."]]],["The `setShadowDom()` method modifies an input's connection by changing its shadow block. It accepts a single parameter, `shadow`, which is the DOM representation of a block or `null`. This method returns the modified `Input` object, enabling method chaining. The primary action is to set or remove the shadow block associated with the input connection, using the provided DOM element.\n"]]