blockly > Eventos > BlockChange > oldValue
Propriedade Events.BlockChange.oldValue
O valor original do elemento.
Signature:
oldValue: unknown;
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2024-10-14 UTC.
[null,null,["Última atualização 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"]]