blockly > Eventi > BlockChange > oldValue
Proprietà Events.BlockChange.oldValue
Il valore originale dell'elemento.
Firma:
oldValue: unknown;
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-10-14 UTC.
[null,null,["Ultimo aggiornamento 2024-10-14 UTC."],[[["`oldValue` stores the initial value of a Blockly block element before a change occurs."],["This property is part of the `BlockChange` event within Blockly's Events namespace, used to track modifications to blocks."],["The data type of `oldValue` is 'unknown', implying it can hold various types of values depending on the block element being modified."]]],["The `oldValue` property within the `BlockChange` event class stores the original value of an element before it was modified. This property is part of the Blockly event system, specifically within the `Events.BlockChange` context. The data type of `oldValue` is `unknown`, indicating it can hold various types of data, dependent upon the element's nature. It provides information on the element's state prior to the change.\n"]]