Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > dane wejściowe > Dane wejściowe > setShadowDom
Zmienia blok cienia połączenia.
Podpis:
setShadowDom(shadow: Element | null): Input;
Parametry
| Parametr |
Typ |
Opis |
| cień |
Element | wartość null |
Reprezentacja DOM bloku lub wartości null. |
Zwroty:
Wejście
Dane wejściowe są modyfikowane (aby umożliwić tworzenie łańcuchów).
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["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"]]