Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
blockly > Ingresso > setShadowDom
Modifica il blocco ombra della connessione.
Firma:
setShadowDom(shadow: Element | null): Input;
Parametri
Parametro |
Tipo |
Descrizione |
ombra |
Elemento | null |
Rappresentazione DOM di un blocco o nulla. |
Resi:
Ingresso
L'input da modificare (per consentire il concatenamento).
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-09-12 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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"]]