blockly > Events > BlockDeleteJson
Events.BlockDeleteJson interface
Signature:
export interface BlockDeleteJson extends BlockBaseJson
Extends: BlockBaseJson
Properties
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["The `Events.BlockDeleteJson` interface extends the `BlockBaseJson` interface and is used to describe a block deletion event in JSON format."],["This interface includes properties like `ids`, `oldJson`, `oldXml`, `recordUndo` (optional), and `wasShadow` to capture the details of the deleted block."],["`oldJson` stores the block's state before deletion, while `oldXml` stores its XML representation."],["The `ids` property holds an array of strings representing the IDs of deleted blocks, and `wasShadow` indicates whether the deleted block was a shadow block."]]],[]]