blockly > Événements > BlockMoveJson > recordUndo
Propriété Events.BlockMoveJson.recordAnnuler
Signature :
recordUndo?: boolean;
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/09/12 (UTC).
[null,null,["Dernière mise à jour le 2024/09/12 (UTC)."],[[["`recordUndo` is a property of the `BlockMoveJson` interface within Blockly's Events namespace."],["This optional boolean property determines if the block move event should be recorded in the undo stack, allowing users to reverse the action."],["By default, if `recordUndo` is not explicitly set, block move events will be recorded for undo functionality."]]],["The `recordUndo` property, found within the `BlockMoveJson` interface of the Blockly Events namespace, is a boolean value. This property indicates whether a block movement event should be recorded for undo/redo functionality. Its optional nature suggests that the system might not always track block movement history. When set to `true`, the block's move will be recorded for potential undo operations.\n"]]